XRVps2Subsystem
↳ extends UnityEngine.SubsystemsImplementation.SubsystemWithProvider
Declaration
public class XRVps2Subsystem : SubsystemWithProvider<XRVps2Subsystem, XRVps2SubsystemDescriptor, Provider>Summary
The subsystem owning the VPS2 feature's lifecycle: configuration, localization, and geolocation. Anchors and asset origins are served by the XRVps2AnchorSubsystem and XRVps2AssetSubsystem trackable subsystems, which run against the feature this subsystem manages.
Constructors
public XRVps2Subsystem()
Properties
Methods
| Name | Type | Summary |
|---|---|---|
| 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. |
| TryGetAssetTrackingData | bool | Gets the pose of a VPS asset's origin in the device's AR tracking space. |
| TryGetGeolocation | bool | Convert a pose in the device's AR tracking space to a position and orientation in the global coordinate system, using the latest VPS2 localization. The inverse of TryGetPose. |
| TryGetPose | bool | Convert a position and orientation in the global coordinate system to a pose in the device's AR tracking space, using the latest VPS2 localization. |
| TryLocalize | bool | Requests localization to a site, identified by its site ID. |
| TryStopLocalize | bool | Stops localizing against previously requested sites. |
Relationships
derived: NsdkVps2Subsystem
drone or other aerial capture. Requires UniversalLocalizationEnabled.
There is currently no way to query aerial coverage; contact Niantic Spatial for
details. Disabled by default.