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

ARVps2Asset

↳ extends UnityEngine.XR.ARFoundation.ARTrackable
Represents the origin of a VPS asset tracked by the device.

Declaration​

public sealed class ARVps2Asset : ARTrackable<XRVps2Asset, ARVps2Asset>

Remarks​

The trackable's transform follows the asset's origin as VPS refines the localization, so content authored in the asset's coordinate space is placed by parenting it under this trackable. While the asset is not fully tracked, the tracking state degrades to Limited and the transform keeps the last known pose.


Properties​

NameTypeSummary
readonly AssetIdstring
The identifier of the VPS map asset.
readonly Confidencefloat
Confidence in the current pose, from 0 (none) to 1 (full).
readonly SiteIdstring
The identifier of the site the asset belongs to, or null until the first
tracking data arrives.
readonly TimestampMsulong
Timestamp of the camera frame the pose was last updated from, in monotonic
milliseconds.