Provider
↳ extends UnityEngine.SubsystemsImplementation.SubsystemProvider
The provider API for XRVps2AnchorSubsystem-derived classes to implement.
Declaration
public abstract class Provider : SubsystemProvider<XRVps2AnchorSubsystem>Methods
| Name | Type | Summary |
|---|---|---|
| GetAnchorPayload | bool | Get the payload which encodes the anchor. |
| GetChanges | TrackableChanges<XRVps2Anchor> | Get the changes (added, updated, and removed) to anchors since the last call to this method. |
| RemoveAllAnchors | void | Stops tracking every anchor at once, without surfacing removed changes. |
| TryCreateAnchor | bool | Create a new anchor located at pose in the device's AR tracking space. |
| TryRemoveAnchor | bool | Stop tracking an anchor. |
| TryTrackAnchor | bool | Start tracking the anchor encoded by anchorPayload. |