enum PlaneDetection (Niantic.ARDK.AR.Configuration.PlaneDetection)

Overview

Options for detecting real-world surfaces with a world-tracking configuration. More…

enum PlaneDetection {
    None       = 0,
    Horizontal = 1,
    Vertical   = 2,
};

Detailed Documentation

Options for detecting real-world surfaces with a world-tracking configuration.

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

Enum Values

None

No plane detection.

Horizontal

Used for detecting planar surfaces perpendicular to gravity.

Vertical

Used for detecting planar surfaces parallel to gravity.