createAnchor

Creates a new anchor using the given pose in the given reference space.

By creating an anchor from frame, the created anchor will not be attached to any particular real world object.

If the frame is not active, the promise will be rejected with a InvalidStateError.

See also

https

://immersive-web.github.io/anchors/#dom-xrframe-createanchor