XRVps2AnchorSubsystem
↳ extends UnityEngine.XR.ARSubsystems.TrackingSubsystem
A tracking subsystem serving VPS2 anchors as trackables.
Declaration
public class XRVps2AnchorSubsystem : TrackingSubsystem<XRVps2Anchor, XRVps2AnchorSubsystem, XRVps2AnchorSubsystemDescriptor, Provider>Remarks
The VPS2 feature's lifecycle is owned by XRVps2Subsystem; this subsystem only creates, tracks, and removes anchors against it. Poses are in AR session space.
Methods
| Name | Type | Summary |
|---|---|---|
| GetAnchorPayload | bool | |
| GetChanges | TrackableChanges<XRVps2Anchor> | Get the changes (added, updated, and removed) to anchors since the last call to this method. |
| TryCreateAnchor | bool | Create a new anchor located at pose in the device's AR tracking space. |
| TryRemoveAnchor | bool | Stop tracking an anchor. The anchor surfaces one removed change through GetChanges before it is forgotten. |
| TryTrackAnchor | bool | Start tracking the anchor encoded by anchorPayload. |
Relationships
derived: NsdkVps2AnchorSubsystem
the anchor in a different VPS2 session.