# NianticSpatial.NSDK.AR.XRSubsystems Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.XRSubsystems/ XRSubsystems --- ## Classes | Name | Type | Summary | | --- | --- | --- | | Provider | SubsystemProvider | The provider API for XRVps2AnchorSubsystem-derived classes to implement. | | Provider | SubsystemProvider | The provider API for XRVps2AssetSubsystem-derived classes to implement. | | Provider | SubsystemProvider | - | | Provider | SubsystemProvider | - | | Provider | SubsystemProvider | The provider which will service the XRSceneSegmentationSubsystem. | | Provider | SubsystemProvider | An abstract class to be implemented by providers of this subsystem. | | Vps2AssetId | Vps2AssetId | Conversions between VPS asset UUID strings and TrackableIds. | | XRDeviceMappingSubsystem | SubsystemWithProvider | - | | XRDeviceMappingSubsystemDescriptor | SubsystemDescriptorWithProvider | - | | XRScanningConfiguration | XRScanningConfiguration | Configuration for scanning. | | XRScanningSubsystem | SubsystemWithProvider | Defines an interface for interacting with scanning functionality. | | XRScanningSubsystemDescriptor | SubsystemDescriptorWithProvider | - | | XRSceneSegmentationSubsystem | SubsystemWithProvider, ISubsystemWithModelMetadata | Defines an interface for interacting with semantic segmentation functionality. | | XRSceneSegmentationSubsystemDescriptor | SubsystemDescriptorWithProvider | Descriptor for the XRSceneSegmentationSubsystem. | | XRVps2AnchorSubsystem | TrackingSubsystem | A tracking subsystem serving VPS2 anchors as trackables. | | XRVps2AnchorSubsystemDescriptor | SubsystemDescriptorWithProvider | Descriptor for the XRVps2AnchorSubsystem. | | XRVps2AssetSubsystem | TrackingSubsystem | A tracking subsystem serving the origins of VPS assets as trackables. | | XRVps2AssetSubsystemDescriptor | SubsystemDescriptorWithProvider | Descriptor for the XRVps2AssetSubsystem. | | XRVps2Subsystem | SubsystemWithProvider | 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. | | XRVps2SubsystemDescriptor | SubsystemDescriptorWithProvider | Descriptor for the XRVps2Subsystem. | --- ## Structs | Name | Type | Summary | | --- | --- | --- | | Cinfo | ValueType, IEquatable | - | | Cinfo | ValueType, IEquatable | Constructor info used to register a descriptor. | | Vps2LocalizedAsset | ValueType, IEquatable | The VPS asset the device is localized to. | | XRGeolocation | ValueType | Structure describing device location and heading. | | XRScanningVoxelData | ValueType, IEquatable | Contains a native voxel buffers for positions and colors. | | XRSceneSegmentationSubsystemCinfo | ValueType, IEquatable | Constructor parameters for the XRSceneSegmentationSubsystemDescriptor. | | XRVps2Anchor | ValueType, ITrackable, IEquatable | Describes session-relative data for an anchor. | | XRVps2AnchorPayload | ValueType, IEquatable | Represents the payload for a persistent anchor. | | XRVps2AnchorSubsystemCinfo | ValueType, IEquatable | Constructor parameters for the XRVps2AnchorSubsystemDescriptor. | | XRVps2Asset | ValueType, ITrackable, IEquatable | Describes session-relative data for a VPS asset's origin. | | XRVps2AssetSubsystemCinfo | ValueType, IEquatable | Constructor parameters for the XRVps2AssetSubsystemDescriptor. | | XRVps2AssetTrackingData | ValueType | The pose of a VPS asset's origin in the device's AR tracking space. | | XRVps2Geolocation | ValueType | Structure describing device location and heading as calculated by VPS2. | | XRVps2Localization | ValueType, IEquatable | Spatial mapping between the device's AR coordinate space and real-world geolocation, as determined by VPS2. | | XRVps2LocalizationRequestRecord | ValueType | Diagnostic information about a VPS2 network request. | | XRVps2Pose | ValueType | Structure describing device location in local AR coordinate space as calculated by VPS2. | | XRVps2SubsystemCinfo | ValueType, IEquatable | Constructor parameters for the XRVps2SubsystemDescriptor. | --- ## Enums | Name | Type | Summary | | --- | --- | --- | | ScanningState | ScanningState | - | | Vps2AnchorTrackingStateReason | uint | Provides further information about the tracking state of an anchor. Query this if the anchor's tracking state is NotTracking | | Vps2LocalizationError | byte | Possible errors from VPS2 localization operations. | | Vps2LocalizationRequestStatus | byte | - | | Vps2LocalizationRequestType | byte | Type of request reported by a XRVps2LocalizationRequestRecord. | | Vps2TrackingState | Vps2TrackingState | - | ---