EulerXZY(quaternion)
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.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static float3 EulerXZY(quaternion q)
Parameters
The quaternion to convert to Euler angles.
Returns
Type | Description |
|---|---|
| float3 | The Euler angle representation of the quaternion in XZY order. |