Table of Contents

Enum math.RotationOrder

Namespace
Misaki.HighPerformance.Mathematics
Assembly
Misaki.HighPerformance.Mathematics.dll

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

public enum math.RotationOrder : byte

Fields

Default = 4

Unity default rotation order. Extrinsic Rotation around the z axis, then around the x axis and finally around the y axis.

XYZ = 0

Extrinsic rotation around the x axis, then around the y axis and finally around the z axis.

XZY = 1

Extrinsic rotation around the x axis, then around the z axis and finally around the y axis.

YXZ = 2

Extrinsic rotation around the y axis, then around the x axis and finally around the z axis.

YZX = 3

Extrinsic rotation around the y axis, then around the z axis and finally around the x axis.

ZXY = 4

Extrinsic rotation around the z axis, then around the x axis and finally around the y axis.

ZYX = 5

Extrinsic rotation around the z axis, then around the y axis and finally around the x axis.