Set (SIQuaternion)

Description

Sets the W, X, Y and Z values of this quaternion.

Scripting Syntax

    SIQuaternion.Set( W, X, Y, Z )

C# Syntax

    SIQuaternion.Set( Double in_dW, Double in_dX, Double in_dY, Double in_dZ );

Parameters

Parameter | Type | Description
W | Floating Point value | W value to set in this quaternion
X | Floating Point value | X value to set in this quaternion
Y | Floating Point value | Y value to set in this quaternion
Z | Floating Point value | Z value to set in this quaternion

Examples

VBScript Example

    dim q1
    ' Create Quaternion.
    set q1 = XSIMath.CreateQuaternion (1.0, 0.0, 0.0, 0.0)

See Also

SIQuaternion.SetIdentity | SIVector3 | SIMatrix3 | SIMatrix4
SIRotation | SITransformation | SIQuaternion |

Autodesk Softimage v7.5