UnsafeNativeMethods.Quaternion.Length(Quaternion) Method (Microsoft.DirectX)
Returns the length of a quaternion.
Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.
Definition
Visual Basic Public Shared Function Length( _
ByVal pQuat As Quaternion _
) As SingleC# public static float Length(
Quaternion pQuat
);C++ public:
static float Length(
Quaternion pQuat
);JScript public static function Length(
pQuat : Quaternion
) : float;
Parameters
pQuat Microsoft.DirectX.Quaternion
Source Quaternion structure.
Return Value
System.Single
A Single value that represents the quaternion's length.
See Also