Contents

trackingObjects

Objects to track in the scene.

Declaration

var trackingObjects: Set<ARReferenceObject> { get set }

Discussion

The system tracks the object at the full frame rate of the selected videoFormat. When an object is tracked, an ARObjectAnchor is added to the session.

Use this property for moving or handheld objects that require precise, per-frame pose updates. High frame-rate tracking significantly increases power consumption and processing load. For mostly stationary objects, use detectionObjects instead.

See Also

Detecting and tracking real-world objects