Structure

ARWorldTrackingConfiguration.PlaneDetection

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

Overview

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

Topics

Plane Detection Options

static var horizontal: ARWorldTrackingConfiguration.PlaneDetection

The session detects planar surfaces that are perpendicular to gravity.

static var vertical: ARWorldTrackingConfiguration.PlaneDetection

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

Relationships

Conforms To

See Also

Enabling Plane Detection

var planeDetection: ARWorldTrackingConfiguration.PlaneDetection

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