Skip to main content
API Reference SwiftyNsdk NsdkMapStorage

createRootAnchor

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

Declaration

func 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 payload of the root anchor, encoded as a base64 string if available, nil if otherwise.


ON THIS PAGE