docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XrSpatialPlaneAlignmentEXT

    Plane alignment component type. Describes the orientation of a plane associated with a spatial entity. Provided by XR_EXT_spatial_plane_tracking.

    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public enum XrSpatialPlaneAlignmentEXT

    Fields

    Name Description
    Arbitrary

    The entity has an arbitrary, non-vertical and non-horizontal alignment. Equivalent to the OpenXR value XR_SPATIAL_PLANE_ALIGNMENT_ARBITRARY_EXT.

    HorizontalDownward

    The entity is horizontally aligned and faces downward, such as a ceiling. Equivalent to the OpenXR value XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD_EXT.

    HorizontalUpward

    The entity is horizontally aligned and faces upward, such as a floor. Equivalent to the OpenXR value XR_SPATIAL_PLANE_ALIGNMENT_HORIZONTAL_UPWARD_EXT.

    Vertical

    The entity is vertically aligned, such as a wall. Equivalent to the OpenXR value XR_SPATIAL_PLANE_ALIGNMENT_VERTICAL_EXT.

    In This Article
    Back to top
    Copyright © 2025 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)