update(from:)
Reshapes the SceneKit geometry to match the specified plane mesh.
Declaration
func update(from planeGeometry: ARPlaneGeometry)Parameters
- planeGeometry:
A coarse mesh representation of a detected plane’s estimated shape.
Discussion
To update a SceneKit model of a plane actively tracked in an AR session, call this method in your ARSCNViewDelegate object’s renderer(_:didUpdate:for:) callback, passing the geometry property from the ARPlaneAnchor object that callback provides.