Skip to main content
API Reference SwiftyNsdk NsdkVps2Session

createAnchor

Requests to create an anchor at the specified pose. This will create an anchor relative...

Declaration

func createAnchor(at pose: simd_float4x4) throws -> NsdkVpsAnchorId

Summary

Requests to create an anchor at the specified pose. This will create an anchor relative
to the currently tracked location that can be used to localize in future sessions.
- Parameter pose: The 4x4 transformation matrix representing the anchor's position and
orientation
- Returns: A unique identifier for the created anchor


ON THIS PAGE