WebIDLpedia

XRSessionInit dictionary

Definition

WebXR Device API defines XRSessionInit



dictionary XRSessionInit {
  sequence<DOMString> requiredFeatures;
  sequence<DOMString> optionalFeatures;
};

This dictionary is extended in the following specifications:

Consolidated IDL (across partials)


dictionary XRSessionInit {
  sequence<DOMString> requiredFeatures;
  sequence<DOMString> optionalFeatures;
  XRDepthStateInit depthSensing;
  XRDOMOverlayInit? domOverlay;
};

Referring IDL interfaces/dictionaries

Referring specifications