Method EulerZXY
EulerZXY(quaternion)
Returns the Euler angle representation of the quaternion following the ZXY rotation order. All rotation angles are in radians and clockwise when looking along the rotation axis towards the origin.
Declaration
public static float3 EulerZXY(quaternion q)
Parameters
Type | Name | Description |
---|---|---|
quaternion | q | The quaternion to convert to Euler angles. |
Returns
Type | Description |
---|---|
float3 | The Euler angle representation of the quaternion in ZXY order. |