UnitySwiftKotlin←API Reference Return to API Reference index←packagecom.nianticspatial.nsdk.mapping com.nianticspatial.nsdk.mapping←classMappingStorageSession com.nianticspatial.nsdk.mapping.MappingStorageSession Function createRootAnchor createRootAnchor Declaration fun createRootAnchor(): String? Summary Creates an anchor on the existing map located at the origin of the current AR session, if possible.The root anchor represents the origin point of the map coordinate system and can be used with VPS for localization. Returns The base64-encoded anchor payload if successful, or null if no anchor payload exists.
Creates an anchor on the existing map located at the origin of the current AR session,
if possible.
The root anchor represents the origin point of the map coordinate system and can be
used with VPS for localization.