Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The createAnchor() method of the XRHitTestResult interface creates an XRAnchor from a hit test result that is attached to a real-world object.