## SIRotation.GetXYZAngles

### Description

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

### C# Syntax

    SIRotation.GetXYZAngles( SIVector3 io_pXZYAngles );

### Scripting Syntax

    SIRotation.GetXYZAngles( vAngles );

### Parameters

Parameter | Type | Description
--- | --- | ---
vAngles | 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