## SIQuaternion.LengthSquared

### Description

Computes the squared length of this quaternion.

### C# Syntax

    Double SIQuaternion.LengthSquared();

### Scripting Syntax

    oFloat = SIQuaternion.LengthSquared();

### Return Value

Floating point value (squared length of this quaternion).

### Examples

#### VBScript Example

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

### See Also

SIQuaternion.Length SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion