Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.XRSubsystems ←XRVps2AnchorSubsystem

Provider

↳ extends UnityEngine.SubsystemsImplementation.SubsystemProvider
The provider API for XRVps2AnchorSubsystem-derived classes to implement.

Declaration​

public abstract class Provider : SubsystemProvider<XRVps2AnchorSubsystem>

Methods​

NameTypeSummary
GetAnchorPayloadbool
Get the payload which encodes the anchor.
GetChangesTrackableChanges<XRVps2Anchor>
Get the changes (added, updated, and removed) to anchors since the last
call to this method.
RemoveAllAnchorsvoid
Stops tracking every anchor at once, without surfacing removed changes.
TryCreateAnchorbool
Create a new anchor located at pose in the device's AR tracking space.
TryRemoveAnchorbool
Stop tracking an anchor.
TryTrackAnchorbool
Start tracking the anchor encoded by anchorPayload.