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

XRVps2AssetSubsystem

↳ extends UnityEngine.XR.ARSubsystems.TrackingSubsystem
A tracking subsystem serving the origins of VPS assets as trackables.

Declaration​

public class XRVps2AssetSubsystem : TrackingSubsystem<XRVps2Asset, XRVps2AssetSubsystem, XRVps2AssetSubsystemDescriptor, Provider>

Remarks​

The asset the device is localized to (the localized asset of GetLatestLocalization) is tracked automatically; other assets known to the session can be requested with TryTrackAsset. An asset appears in the changes once its origin is first tracked, and afterwards degrades to TrackingState.Limited with its last known pose rather than being removed. Poses are in AR session space.


Methods​

NameTypeSummary
GetChangesTrackableChanges<XRVps2Asset>
Get the changes (added, updated, and removed) to tracked assets since the last
call to this method.
TryTrackAssetbool
Requests tracking of a VPS map asset's origin, identified by its asset ID.

Relationships​

derived: NsdkVps2AssetSubsystem