anchorUpdate
Declaration
func anchorUpdate(anchorId: NSDKVpsAnchorId) -> VpsAnchorUpdate?
Summary
Returns
The latest anchor update, or nil if the anchor ID is not recognized.
Notice
Precondition: anchorId must be exactly 32 characters long.
Parameters
| Name | Type | Summary |
|---|---|---|
| anchorId | NSDKVpsAnchorId | The unique identifier of a tracked anchor. |
Gets the latest tracking update for a specified anchor.
Call this for one-shot queries. For ongoing per-frame updates, subscribe to
anchorUpdatedinstead.This tracks the app's own anchors. It is not how the device's relationship to a map is
read: use
getPose(location:)to place a geolocation in AR space orassetTrackingData(assetId:)to get the pose of a VPS asset's origin.