Definition
WebXR Hit Test Module defines XRHitTestResult
[SecureContext, Exposed=Window]
interface XRHitTestResult {
XRPose? getPose(XRSpace baseSpace);
};
This interface is extended in the following specifications:
- WebXR Anchors Module
partial interface XRHitTestResult { Promise<XRAnchor> createAnchor(); };
Consolidated IDL (across mixin and partials)
[SecureContext, Exposed=Window]
interface XRHitTestResult {
XRPose? getPose(XRSpace baseSpace);
Promise<XRAnchor> createAnchor();
};
Methods and attributes that return objects implementing XRHitTestResult
Referring IDL interfaces/dictionaries
Referring specifications
- WebXR Anchors Module refers to
XRHitTestResult