docs.unity3d.com
Search Results for

    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
    Assembly: Unity.XR.ARKit.dll
    Syntax
    public enum ARWorldAlignment
    Remarks

    See Apple's documentation for more information.

    Fields

    Name Description
    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 (in relation to True North) that is given by the vector (0, 0, 1).

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)