XRVps2Subsystem
↳ extends UnityEngine.XR.ARSubsystems.TrackingSubsystem
Declaration
public class XRVps2Subsystem : TrackingSubsystem<XRVps2Anchor, XRVps2Subsystem, XRVps2SubsystemDescriptor, Provider>Constructors
public XRVps2Subsystem()
Properties
Methods
| Name | Type | Summary |
|---|---|---|
| GetAnchorPayload | bool | Get the payload which encodes the anchor. The payload can be used to re-track the anchor in a different VPS2 session. |
| GetChanges | TrackableChanges<XRVps2Anchor> | - |
| GetDeviceGeolocation | XRVps2Geolocation | Get the geolocation of the device's last known camera pose. |
| GetLatestDebuggerData | List<VpsDebuggerDataEvent> | Get all the debugger data since the last time this method was called. |
| GetLatestLocalization | XRVps2Localization | Get the latest VPS2 localization. The localization contains the metadata required to perform bidirectional conversions between the application’s AR tracking space and the global coordinate system (lat/lng/alt/heading). |
| GetLatestLocalizationRequestRecords | List<XRVps2LocalizationRequestRecord> | Get all the network request records since the last time this method was called. |
| GetPose | XRVps2Pose | Convert a position and orientation in the global coordinate system to a pose in the device's AR tracking space. |
| GetSessionId | bool | Get the session id, if one exists. |
| 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 payload. |
Relationships
derived: NsdkVps2Subsystem
Nodes farther than this distance from the device are skipped during anchor localization.
When only GPS is available (no geo-correction), the effective gate is 2x this value.
Pass 0 to use the default value (50 meters geo-corrected, 100 meters GPS-only).
Pass -1 to disable the distance check entirely.