docs.unity.cn
    Show / Hide Table of Contents

    Enum PlaneAlignment

    Represents the alignment of a plane, e.g., 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, e.g., a floor.

    100
    HorizontalDown

    The plane is horizontal with a downward facing normal, e.g., a ceiling.

    101
    Vertical

    The plane is vertical, e.g., a wall.

    200
    NotAxisAligned

    The plane is not axis aligned.

    300

    Extension Methods

    PlaneAlignmentExtensions.IsHorizontal()
    PlaneAlignmentExtensions.IsVertical()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021