Instance Property

planeDetection

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

Declaration

@property(nonatomic, assign) ARPlaneDetection planeDetection;

Discussion

By default, this configuration disables plane detection. If you enable ARPlaneDetectionHorizontal or ARPlaneDetectionVertical plane detection, the session adds ARPlaneAnchor objects and notifies your ARSessionDelegate, ARSCNViewDelegate, or ARSKViewDelegate object when its analysis of captured video images detects an area that appears to be a flat surface.

See Also

Enabling Plane Detection

ARPlaneDetection

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