Secure contextThis feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The read-only XRReferenceSpaceEvent
property referenceSpace
specifies the reference space which is the originator of the event.
Syntax
let refSpace = xrReferenceSpaceEvent.referenceSpace;
Value
An XRReferenceSpace
indicating the source of the event.
Examples
Specifications
Specification | Status | Comment |
WebXR Device APIThe definition of 'XRReferenceSpaceEvent.referenceSpace' in that specification. | Working Draft | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
referenceSpace
|
Chrome
Full support 79 |
Edge
Full support 79 |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
Full support 79 |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
Full support 11.2 |
Legend
- Full support
- Full support
- No support
- No support
XRReferenceSpaceEvent.referenceSpace by Mozilla Contributors is licensed under CC-BY-SA 2.5.