Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Mapping ←DeviceMapAccessController

CreateRootAnchor


Declaration​

public bool CreateRootAnchor(out string anchorPayload)

Summary​

Creates an anchor on the existing map located at the origin of the current
AR session, if possible.

Returns​

True if successful, false otherwise.

Notice

This is an experimental feature, and is subject to breaking changes or deprecation without notice

Parameters​

NameTypeSummary
anchorPayloadstring
The payload of the anchor, as a base64-encoded string.