Instance Property

geometry

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

Declaration

@property(nonatomic, strong, readonly) ARPlaneGeometry *geometry;

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 updateFromPlaneGeometry: method to update it to match the plane geometry.

See Also

Geometry

ARPlaneGeometry

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

ARSCNPlaneGeometry

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