Class ARPointCloudManagerListener
Listens to the pointCloudsChanged event and forwards it to the visual scripting event bus.
Namespace: UnityEngine.XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.dll
Syntax
[Obsolete("ARPointCloudManagerListener has been deprecated in AR Foundation version 6.0.", false)]
public sealed class ARPointCloudManagerListener : TrackableManagerListener<ARPointCloudManager>
Methods
RegisterTrackablesChangedDelegate(ARPointCloudManager)
Subscribes to the trackables-changed event of manager
.
This is method is called in OnEnable
.
Declaration
protected override void RegisterTrackablesChangedDelegate(ARPointCloudManager manager)
Parameters
Type | Name | Description |
---|---|---|
ARPointCloudManager | manager | The manager instance. |
Overrides
TrackableManagerListener<ARPointCloudManager>.RegisterTrackablesChangedDelegate(ARPointCloudManager)
See Also
UnregisterTrackablesChangedDelegate(ARPointCloudManager)
Unsubscribes from the trackables-changed event of manager
.
This is method is called in OnDisable
.
Declaration
protected override void UnregisterTrackablesChangedDelegate(ARPointCloudManager manager)
Parameters
Type | Name | Description |
---|---|---|
ARPointCloudManager | manager | The manager instance. |