assetTrackingData
Declaration
func assetTrackingData(assetId: String? = nil) -> Vps2AssetTrackingData?
Summary
Returns
The asset's tracking data, or nil while none is available.
Parameters
| Name | Type | Summary |
|---|---|---|
| assetId | String? | The identifier of the asset, or nil for the assetthe device is currently localized to (see Vps2Localization/localizedAsset). |
Gets the pose of a VPS asset's origin in the device's AR tracking space.
Polling is the demand that starts tracking: the first call for an asset
begins tracking its origin frame and returns
nilwhile that spins up,so keep polling. Data is only served while the asset is fully tracked;
nilcovers never-localized, limited, and lost tracking alike, and anilassetId while the device is not localized. Content should not beplaced while this returns
nil.