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

GetAnchorPayload


Declaration​

public bool GetAnchorPayload(TrackableId trackableId, out string payload)

Summary​

Get the payload which encodes the anchor. The payload can be used to re-track
the anchor in a different VPS2 session.

Returns​

True if the payload is available.

Notice

An anchor is tied to the site asset it was created against: a later session must already be localizing to that site before the payload can be tracked.

Parameters​

NameTypeSummary
trackableIdTrackableId
The id of the anchor.
payloadout string
Receives the payload on success.