GetXYZAngles (SIRotation)

Description

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

Scripting Syntax

    SIRotation.GetXYZAngles( vAngles )

C# Syntax

    SIRotation.GetXYZAngles( SIVector3 io_pXZYAngles );

Parameters

Parameter | Type | Description
vAngles [in/out] | SIVector3 | 3D vector filled with the X, Y and Z angles (in radians) of this rotation

Examples

VBScript Example

    dim r1, rotAngles
    ' Create rotation.
    set r1 = XSIMath.CreateRotation
    ' Create 3D Vector.
    set rotAngles = XSIMath.CreateVector3
    'do something on the rotation
    r1.GetXYZAngles rotAngles

See Also

SIRotation.SetFromXYZAngles | SIRotation.XYZAngles

Autodesk Softimage v7.5