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

XRVps2AssetTrackingData

The pose of a VPS asset's origin in the device's AR tracking space.

Declaration​

public struct XRVps2AssetTrackingData : ValueType

Remarks​

Place content authored in the asset's coordinate space with Pose. The asset's coordinate space is the same space downloaded mesh chunks of the asset are placed in. Only served while the asset is fully tracked; see TryGetAssetTrackingData.


Fields​

NameTypeSummary
AreaIdstring
The area of the asset whose anchor supplied this pose, or null when the asset has no
subareas. Every area of a split asset shares the asset's origin, so the pose is the same
whichever area supplies it. It can differ from AreaId.
AssetIdstring
The identifier of the VPS map asset.
Confidencefloat
Confidence in the pose, from 0 (none) to 1 (full).
GeolocationNullable<XRGeolocation>
Geolocation of the asset's origin, or null while the asset has no georeference.
PosePose
Pose of the asset's origin, in AR session space: not composed with the XR origin.
Equivalently, the transform from the asset's coordinate space to AR session space, with position
in meters. Both spaces are expressed in Unity axes. Independent of the current camera pose.
SiteIdstring
The identifier of the site the asset belongs to.
TimestampMsulong
Timestamp of the camera frame the pose was last updated from, in monotonic
milliseconds.