Definition
WebXR Device API defines XRSessionInit
dictionary XRSessionInit {
sequence<DOMString> requiredFeatures;
sequence<DOMString> optionalFeatures;
};
This dictionary is extended in the following specifications:
- WebXR Depth Sensing Module
partial dictionary XRSessionInit { XRDepthStateInit depthSensing; };
- WebXR DOM Overlays Module
partial dictionary XRSessionInit { XRDOMOverlayInit? domOverlay; };
Consolidated IDL (across partials)
dictionary XRSessionInit {
sequence<DOMString> requiredFeatures;
sequence<DOMString> optionalFeatures;
XRDepthStateInit depthSensing;
XRDOMOverlayInit? domOverlay;
};
Referring IDL interfaces/dictionaries
Referring specifications
- WebXR Depth Sensing Module refers to
XRSessionInit
- WebXR DOM Overlays Module refers to
XRSessionInit