Skip to main content
API Reference com.nianticspatial.nsdk.vps2 Vps2Session

createAnchor

Create and start tracking an anchor at the specified pose.

Declaration

fun createAnchor(pose: Pose): UUID

Summary

Create and start tracking an anchor at the specified pose.

Returns

The unique 32-byte ASCII uppercase hex identifier encoded as a [UUID] (ByteArray). Use [anchorIdToString] to convert it to a printable string.