Enum math.RotationOrder | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Enum math.RotationOrder

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

    Namespace: Unity.Mathematics
    Syntax
    public enum RotationOrder : byte

    Fields

    Name Description
    Default

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

    XYZ

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

    XZY

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

    YXZ

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

    YZX

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

    ZXY

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

    ZYX

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

    In This Article
    • Fields
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023