docs.unity3d.com
    Show / Hide Table of Contents

    Enum ARWorldAlignment

    Specifies how the session maps real-world device motion into a 3D scene coordinate system. See requestedWorldAlignment.

    Namespace: UnityEngine.XR.ARKit
    Syntax
    public enum ARWorldAlignment
    Remarks

    See Apple's documentation for more information.

    Fields

    Name Description Value
    Camera

    Aligns the world with the camera’s orientation.

    Gravity

    Aligns the world with gravity that is defined by vector (0, -1, 0).

    GravityAndHeading

    Aligns the world with gravity that is defined by the vector (0, -1, 0) and heading (w.r.t. True North) that is given by the vector (0, 0, 1).

    Back to top
    Terms of use
    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