session(_:didUpdate:)
Tells the delegate that the session has adjusted the properties of one or more anchors.
Declaration
optional func session(_ session: ARSession, didUpdate anchors: [ARAnchor])Parameters
- session:
The session providing information.
- anchors:
The anchors whose properties have changed.
Discussion
Depending on the session configuration, ARKit may automatically update the properties of anchors in a session.
If you display an AR experience using SceneKit or SpriteKit, you can implement one of the following methods instead to track not only the anchors in the session but also any corresponding SceneKit or SpriteKit content: