Extracts the quaternion values from this rotation inside the quaternion q.
SITransformation.GetRotationQuaternion( SIQuaternion io_pQuat ); |
SITransformation.GetRotationQuaternion( io_pQuat ); |
Parameter | Type | Description |
---|---|---|
io_pQuat | SIQuaternion | Quaternion operand |
dim t1, q1 ' Create transformation. set t1 = XSIMath.CreateTransform ' Create Quaternion. set q1 = XSIMath.CreateQuaternion 'Do something on t1 t1.GetRotationQuaternion q1 |
SITransformation.SetRotationFromQuaternion SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion