Instance Property

planeDetection

A value specifying whether and how the session attempts to automatically detect flat surfaces in the camera-captured image.

Declaration

@property(nonatomic, assign) ARPlaneDetection planeDetection;

Discussion

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