createAnchor
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. Attention: This method requires that the session has successfully localized (an anchor was successfully tracked) before it returns a valid anchor payload for future sessions. After creating an anchor, regularly poll [getAnchorUpdate] to get the anchor's updated pose.
Declaration
Summary
Returns
A unique identifier for the created anchor
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. Attention: This method requires that the session has successfully localized (an anchor was successfully tracked) before it returns a valid anchor payload for future sessions. After creating an anchor, regularly poll [getAnchorUpdate] to get the anchor's updated pose.