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.

Parameters​

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