True if DOM Overlay is available. This information becomes available only when the session has started and a valid root DOM element has been provided.
State of the DOM Overlay, which defines how the root DOM element is rendered. Possible options:
True if DOM Overlay is supported.
DOM Overlay provides the ability to use DOM elements as an overlay in a WebXR AR session. It requires that the root DOM element is provided for session start. That way, input source select events are first tested against DOM Elements and then propagated down to the XR Session. If this propagation is not desirable, use the
beforexrselect
event on a DOM element and thepreventDefault
function to stop propagation.