Contents

ARSCNPlaneGeometry

A SceneKit representation of the 2D shape of a plane, for use with plane detection results in an AR session.

Declaration

class ARSCNPlaneGeometry

Overview

ARSCNPlaneGeometry is a subclass of SCNGeometry that wraps the mesh data provided by the ARPlaneGeometry class. You can use ARSCNPlaneGeometry to visualize the plane shape estimates provided by ARKit in a SceneKit view.

As your AR session continues to run, ARKit provides refined estimates of a detected plane’s 2D shape. Use the update(from:) method to incorporate those refinements into the plane’s SceneKit representation.

Topics

Creating a Geometry

Updating the Geometry

See Also

Geometry