GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for XRInputSourcesChangeEvent.

Developer library 6

XRInputSourcesChangeEvent

WebXR Device API The WebXR Device API interface **`XRInputSourcesChangeEvent`** is used to represent the inputsourceschange event sent to an XRSession when the set of available WebXR input controllers changes. ## Constructor - XRInputSourcesChangeEvent() - : Creates and returns a new `XRInputSourcesChangeEvent` object. The specified type must be `inputsourceschange`, which is the only event that uses this int

XRInputSourcesChangeEvent: XRInputSourcesChangeEvent() constructor

WebXR Device API The **`XRInputSourcesChangeEvent()`** constructor creates and returns a new XRInputSourcesChangeEvent object, representing an update to the list of available [WebXR](/docs/Web/API/WebXR_Device_API) input devices. You won't typically call this constructor yourself, as these events are created and sent to you by the WebXR system. ## Syntax ```js-nolint new XRInputSourcesChangeEvent(type, options) ``

XRInputSourcesChangeEvent: session property

WebXR Device API The **`session`** read-only property of the XRInputSourcesChangeEvent interface specifies the XRSession to which the input source list change event applies. ## Value An XRSession indicating the WebXR session to which the input source list change applies. ## Specifications ## Browser compatibility

XRInputSourcesChangeEvent: removed property

WebXR Device API The read-only XRInputSourcesChangeEvent property `removed` is an array of zero or more XRInputSource objects representing the input sources that have been removed from the XRSession. ## Value An Array of zero or more XRInputSource objects, each representing one input device removed from the XR system. ## Examples See [`XRInputSourcesChangeEvent.added`](/docs/Web/API/XRInputSourcesChangeEvent/add

XRInputSourcesChangeEvent: added property

WebXR Device API The read-only XRInputSourcesChangeEvent property `added` is a list of zero or more input sources, each identified using an XRInputSource object, which have been newly made available for use. ## Value An Array of zero or more XRInputSource objects, each representing one input device added to the XR system. ## Examples The example below creates a handler for the inputsourceschange event that proce

XRSession

ent is represented by an object of type XRSessionEvent. Also available through the `onend` event handler property. - inputsourceschange - : An event of type XRInputSourcesChangeEvent sent to the `XRSession` when the list of active XR input sources has changed. Also available through the `oninputsourceschange` event handler property. - select - : An event of type XRInputSourceEvent which is sent to the session w

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/XRSession

JSON results · Services directory