WebXR - XRHitTestSource

Is it possible to access the underlying geometry of a XRHitTestSource, so I can visualise it as a THREE.js Mesh? I assume that there is data for the faces but so far looking at the docs I’m not at all clear it it is possible to access this. The Mozilla - iOS Viewer examples show using worldInformation to do this, but it seems that this is just a Mozilla only version and not part of the actual WebXR API.

1 Like

Thought I’d update this. At this time worldSensing is not a standard part of the WebXR API. So currently displaying the underlying geometry that is used in a hittest is not possible in regular browsers. The best non-standard example is the Mozilla iOS WebXR viewer. The recently released V2 gives an example that may well make it into the final specs.