enum PlaneAlignment (Niantic.ARDK.AR.Anchors.PlaneAlignment)

Overview

Values describing possible general orientations of a detected plane with respect to gravity. More…

enum PlaneAlignment {
    Unknown    = 0,
    Horizontal = 1,
    Vertical   = 2,
};

Detailed Documentation

Values describing possible general orientations of a detected plane with respect to gravity.

Limit changing this enum, because it is used in comparisons with the AR.Configuration.PlaneDetection enum. This rigidness is due to how these enums are backed in ARKit and ARCore.

Enum Values

Unknown

The plane’s alignment is unknown.

Horizontal

The plane is perpendicular to gravity.

Vertical

The plane is parallel to gravity.