GetRotationXYZAngles (SITransformation)

Description

Extracts the X, Y and Z angles (in radians) from the rotation part of this transformation inside the 3D vector vAngles.

Scripting Syntax

SITransformation.GetRotationXYZAngles( vAngles )

C# Syntax

SITransformation.GetRotationXYZAngles( SIVector3 io_pXYZAngles );

Parameters

Parameter

Type

Description

vAngles [in/out]

SIVector3

3D vector filled with the X, Y and Z angles (in radians) of the rotation

Examples

VBScript Example

dim t1, rotAngles
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D Vector.
set rotAngles = XSIMath.CreateVector3
'do something on t1
t1.GetRotationXYZAngles rotAngles

See Also

SITransformation.SetRotationFromXYZAngles

SITransformation.RotX

SITransformation.RotY

SITransformation.RotZ

SIVector3

SIMatrix3

SIMatrix4

SIRotation

SITransformation

SIQuaternion

 

 



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index