renderer(_:didRemove:for:)
Tells the delegate that the SceneKit node corresponding to a removed AR anchor has been removed from the scene.
Declaration
optional func renderer(_ renderer: any SCNSceneRenderer, didRemove node: SCNNode, for anchor: ARAnchor)Parameters
- renderer:
The Arscnview object rendering the scene.
- node:
The removed SceneKit node.
- anchor:
The AR anchor corresponding to the node.
Discussion
Depending on the session configuration, ARKit may automatically remove anchors from a session. The view calls this method once for each removed anchor.