Information about the position and orientation of a real-world flat surface detected in a world-tracking AR session.


Examining Plane Dimensions

var alignment: ARPlaneAnchor.Alignment

The general orientation of the detected plane with respect to gravity.

enum ARPlaneAnchor.Alignment

Values describing possible general orientations of a detected plane with respect to gravity.

var center: vector_float3

The center point of the plane relative to its anchor position.

var extent: vector_float3

The estimated width and length of the detected plane.


Inherits From

See Also

World-Based AR Experiences

Building Your First AR Experience

Create an app that runs an AR session and uses plane detection to place 3D content using SceneKit.

Handling 3D Interaction and UI Controls in Augmented Reality

Follow best practices for visual feedback, gesture interactions, and realistic rendering in AR experiences.

class ARWorldTrackingConfiguration

A configuration that uses the rear-facing camera, tracks a device's orientation and position, and detects real-world flat surfaces.

class AROrientationTrackingConfiguration

A configuration that uses the rear-facing camera and tracks only a device's orientation.