Share via


Quaternion.Length(Quaternion) Method (Microsoft.DirectX)

Returns the length of a quaternion.

Definition

Visual Basic Public Shared Function Length( _
    ByVal v As Quaternion _
) As Single
C# public static float Length(
    Quaternion v
);
C++ public:
static float Length(
    Quaternion v
);
JScript public static function Length(
    v : Quaternion
) : float;

Parameters

v Microsoft.DirectX.Quaternion
Source Quaternion structure.

Return Value

System.Single
A SingleLeave Site value that represents the quaternion's length.

See Also