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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, November 7, 2022
    Terms of use