Version: 2018.2

WorldAnchor.OnTrackingChangedDelegate

Switch to Manual
public delegatevoid OnTrackingChangedDelegate (XR.WSA.WorldAnchor worldAnchor, bool located);

Parameters

locatedSet to true if the object is locatable.
selfThe WorldAnchor reporting the tracking state change.

Description

Event that is fired when this object's tracking state changes.

By default, when an object loses its ability to be tracked it will be deactivated. This behavior can be overridden by listening for this event. If this event is subscribed to it is up to to the developer to handle loss of tracking state for this object.