SIQuaternion.Length

Description

Computes the length of this quaternion.

C# Syntax

Double SIQuaternion.Length();

Scripting Syntax

oFloat = SIQuaternion.Length();

Return Value

Floating point value (length of this quaternion).

Examples

VBScript Example

dim q1
' Create Quaternion.
set q1 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0)
LengthOfQ1 = q1.Length

See Also

SIQuaternion.LengthSquared SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion