Returns the W, X, Y and Z values of this quaternion.
Note: This method uses output
arguments. C# and some scripting languages (such as JScript and
PerlScript) don't support arguments passed by reference. However,
there is a alternate version of this method which is considered
safe to use with C#, JScript and PerlScript: SIQuaternion.Get2.
SIQuaternion.Get( Object& out_pvarW, Object& out_pvarX, Object& out_pvarY, Object& out_pvarZ ); |
SIQuaternion.Get( W, X, Y, Z ); |
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 |
dim q1 ' Create Quaternion. set q1 = XSIMath.CreateQuaternion q1.Get 1.3, 2.4, 4.3, 5.4 q1.Get w, x, y, z msgbox w |
SIQuaternion.SetIdentity SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion SIQuaternion.Get2