W3C

First Public Working Drafts: WebXR Depth Sensing, Hit Test, DOM Overlays Modules

The Immersive Web Working Group has published the following three First Public Working Drafts:

  • WebXR Depth Sensing Module is a module extending the capabilities of WebXR Device API. It enables apps to obtain depth information computed by supported XR devices in order to provide more immersive experiences. The example use cases of depth sensing API include (but are not limited to) simulating physical interactions of virtual objects with the real world, occlusion, and non-visual applications that can make use of increased awareness of users’ environment.
  • WebXR Hit Test Module describes a method for performing hit tests against real world geometry to be used with the WebXR Device API.
  • WebXR DOM Overlays Module expands the WebXR Device API with a mechanism for showing interactive 2D web content during an immersive WebXR session. When the feature is enabled, the user agent will display the content of a single DOM element as a transparent-background 2D rectangle.