ARSCNPlaneGeometry
A SceneKit representation of the 2D shape of a plane, for use with plane detection results in an AR session.
Declaration
class ARSCNPlaneGeometryOverview
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.