Quaternion.Dot Method (Quaternion, Quaternion)
Calculates the dot product of two Quaternions.
Syntax
'Declaration
Public Shared Function Dot ( _
quaternion1 As Quaternion, _
quaternion2 As Quaternion _
) As Single
public static float Dot (
Quaternion quaternion1,
Quaternion quaternion2
)
public:
static float Dot(
Quaternion quaternion1,
Quaternion quaternion2
)
Parameters
- quaternion1
Type: Quaternion
Source Quaternion. - quaternion2
Type: Quaternion
Source Quaternion.
Return Value
Type: Single
Dot product of the Quaternions.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone