## SITransformation.GetRotationXYZAnglesValues2

### Description

Returns the Euler angles values of the rotation in an array. The values in the array are ordered the same as the SITransformation.GetRotationXYZAnglesValues output parameters.
Note: This method must be used with scripting languages that don't support arguments passed by reference such as JScript. For more information on getting output arguments, see About Output Argument Arrays.

### C# Syntax

    Object SITransformation.GetRotationXYZAnglesValues2();

### Scripting Syntax

    oArray = SITransformation.GetRotationXYZAnglesValues2();

### Return Value

Array ordered as X, Y, Z

### Examples

#### JScript Example

    var t, array;
    t = XSIMath.CreateTransform();
    var vbArr = new VBArray( t.GetRotationXYZAnglesValues2() );
    var array = vbArr.toArray();
    Application.LogMessage( "XYZ angles: " + array[0] +","+ array[1] +","+ array[2] );

### See Also

SITransformation.GetRotationXYZAnglesValues