API

Interface IWebXRDomOverlayOptions

Options for DOM Overlay feature

interface IWebXRDomOverlayOptions {
    element: string | Element;
    supressXRSelectEvents?: boolean;
}
Index
element: string | Element

DOM Element or document query selector string for overlay.

NOTE: UA may make this element background transparent in XR.

supressXRSelectEvents?: boolean

Supress XR Select events on container element (DOM blocks interaction to scene).