| Parameter | Description |
|---|---|
| q | The quaternion to convert to Euler angles. |
float3 The Euler angle representation of the quaternion in XZY order.
Returns the Euler angle representation of the quaternion following the XZY rotation order. All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.