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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961