Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Singlevalue that represents the quaternion's length.
See Also
.gif)