Optional
Readonly
domOptional
Readonly
enabledReadonly
environmentOptional
Readonly
frameReadonly
inputReadonly
renderobject which contains options affecting how the imagery is rendered. This includes things such as the near and far clipping planes
Optional
requestOptional
requestOptional
requestOptional
Readonly
supportedOptional
updateOptional
planeReadonly
visibilityOptional
options: boolean | AddEventListenerOptionsOptional
options: boolean | AddEventListenerOptionsDispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Optional
options: boolean | EventListenerOptionsOptional
options: boolean | EventListenerOptionsSchedules the specified method to be called the next time the user agent is working on rendering an animation frame for the WebXR device. Returns an integer value which can be used to identify the request for the purposes of canceling the callback using cancelAnimationFrame(). This method is comparable to the Window.requestAnimationFrame() method.
Requests that a new XRReferenceSpace of the specified type be created. Returns a promise which resolves with the XRReferenceSpace or XRBoundedReferenceSpace which was requested, or throws a NotSupportedError if the requested space type isn't supported by the device.
Optional
renderStateInit: XRRenderStateInit
Returns a list of this session's XRInputSources, each representing an input device used to control the camera and/or scene.