WebIDLpedia

XRHitTestResult interface

Definition

WebXR Hit Test Module defines XRHitTestResult



[SecureContext, Exposed=Window]
interface XRHitTestResult {
  XRPose? getPose(XRSpace baseSpace);
};

This interface is extended in the following specifications:

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