Instance Property

geometry

A coarse triangle mesh representing the general shape of the detected plane.

Declaration

var geometry: ARPlaneGeometry { get }

Discussion

This mesh provides vertex, index, and texture coordinate buffers describing the estimated 2D footprint of the plane.

You can visualize the plane geometry by passing these buffers to your preferred rendering engine. To visualize a plane geometry using SceneKit, create an ARSCNPlaneGeometry instance and use its update(from:) method to update it to match the plane geometry.

See Also

Geometry

class ARPlaneGeometry

A 3D mesh describing the shape of a detected plane in world-tracking AR sessions.

class ARSCNPlaneGeometry

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