Hit test
Limited availability
The getHitTestResults()
method of an XRFrame
object helps place objects in an augmented reality session by finding where cast rays intersect with real-world geometry.
Learning resources on MDN
Browser support
- Chrome 81 Released on 2020-04-07
- Chrome Android 81 Released on 2020-04-07
- Edge 81 Released on 2020-04-13
- Firefox ❌ Vendor position : defer
- Firefox for Android ❌ Vendor position : defer
- Safari ❌
- Safari on iOS ❌
Specifications
- WebXR Hit Test Module, from Immersive Web Working Group (W3C).