docs.unity.cn
    Show / Hide Table of Contents

    Enum PlaneAlignment

    Represents the alignment of a plane (for example, whether it is horizontal or vertical).

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public enum PlaneAlignment

    Fields

    Name Description Value
    None

    No alignment.


    0
    HorizontalUp

    The plane is horizontal with an upward facing normal (for example, a floor).


    100
    HorizontalDown

    The plane is horizontal with a downward facing normal (for example, a ceiling).


    101
    Vertical

    The plane is vertical (for example, a wall).


    200
    NotAxisAligned

    The plane is not aligned with any axis.


    300
    See Also
    alignment

    Extension Methods

    PlaneAlignmentExtensions.IsHorizontal()
    PlaneAlignmentExtensions.IsVertical()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 26, 2023