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 specifying whether and how the session attempts to automatically detect flat surfaces in the camera-captured image.