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

TryGetAnchorPayload


Declaration​

public bool TryGetAnchorPayload(ARVps2Anchor anchor, out string payload)

Summary​

Gets the payload which encodes the anchor.
Forwards to TryGetAnchorPayload.

Returns​

true if the payload is available; otherwise false.

Notice

An anchor is tied to the site asset it was created against. To start tracking it in a different session, first localize to its site with TryLocalize, then call TryTrackAnchor.

Parameters​

NameTypeSummary
anchorARVps2Anchor
The anchor whose payload to get.
payloadout string
Receives the payload on success.