Event trackedObjectsChanged
Invoked once per frame with information about the ARTrackedObjects that have changed (that is, been added, updated, or removed).
This happens just before ARTrackedObjects are destroyed, so you can set ARTrackedObject.destroyOnRemoval
to false
from this event to suppress this behavior.
Namespace: UnityEngine.XR.ARFoundation
Assembly: solution.dll
Syntax
public event Action<ARTrackedObjectsChangedEventArgs> trackedObjectsChanged
Returns
Type | Description |
---|---|
Action<ARTrackedObjectsChangedEventArgs> |