Instance Property

anchors

The list of anchors representing positions tracked or objects detected in the scene.

Declaration

var anchors: [ARAnchor] { get }

Discussion

You can manually add or remove anchors to track locations in the scene using the ARSession class. Depending on session configuration, ARKit may also add anchors, such as the origin of the world coordinate system or automatically detected planes.

See Also

Tracking and Finding Objects

func hitTest(CGPoint, types: ARHitTestResult.ResultType)

Searches for real-world objects or AR anchors in the captured camera image.