# math.RotationOrder

> Extrinsic rotation order. Specifies in which order rotations around the principal axes (x, y and z) are to be applied.

## Definition

* **Type:** Enum
* **Namespace:** [Unity.Mathematics](/engine/6000.5/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

```csharp
public enum math.RotationOrder : byte
```

## Fields

| Value                                                                                      | Description                                                                                                               |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| [Default](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/default.md) | Unity default rotation order. Extrinsic Rotation around the z axis, then around the x axis and finally around the y axis. |
| [XYZ](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/xyz.md)         | Extrinsic rotation around the x axis, then around the y axis and finally around the z axis.                               |
| [XZY](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/xzy.md)         | Extrinsic rotation around the x axis, then around the z axis and finally around the y axis.                               |
| [YXZ](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/yxz.md)         | Extrinsic rotation around the y axis, then around the x axis and finally around the z axis.                               |
| [YZX](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/yzx.md)         | Extrinsic rotation around the y axis, then around the z axis and finally around the x axis.                               |
| [ZXY](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/zxy.md)         | Extrinsic rotation around the z axis, then around the x axis and finally around the y axis.                               |
| [ZYX](/engine/6000.5/script-reference/unity/mathematics/math/rotationorder/zyx.md)         | Extrinsic rotation around the z axis, then around the y axis and finally around the x axis.                               |
