Share via


Quaternion.LengthSq() Method (Microsoft.DirectX)

Returns the square of a quaternion's length.

Definition

Visual Basic Public Function LengthSq() As Single
C# public float LengthSq();
C++ public:
float LengthSq();
JScript public function LengthSq() : float;

Return Value

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

See Also