Enumeration

ARPlaneDetection

Options for whether and how ARKit detects flat surfaces in captured images.

Declaration

typedef enum ARPlaneDetection : NSUInteger {
    ...
} ARPlaneDetection;

Overview

Use an empty set literal [] to specify no plane detection.

Topics

Plane Detection Options

ARPlaneDetectionHorizontal

The session detects planar surfaces that are perpendicular to gravity.

ARPlaneDetectionVertical

The session detects surfaces that are parallel to gravity (regardless of other orientation).

ARPlaneDetectionNone

Plane detection is disabled.

See Also

Enabling Plane Detection

planeDetection

A value that specifies if and how the session automatically attempts to detect flat surfaces in the camera-captured image.