SITransformation.GetRotationQuaternion

Description

Extracts the quaternion values from this rotation inside the quaternion q.

C# Syntax

SITransformation.GetRotationQuaternion( SIQuaternion io_pQuat );

Scripting Syntax

SITransformation.GetRotationQuaternion( io_pQuat );

Parameters

Parameter Type Description
io_pQuat SIQuaternion Quaternion operand

Examples

VBScript Example

dim t1, q1
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create Quaternion.
set q1 = XSIMath.CreateQuaternion
'Do something on t1
t1.GetRotationQuaternion q1

See Also

SITransformation.SetRotationFromQuaternion SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion