XRSpace

Draft
This page is not complete.

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The XRSpace interface of the WebXR Device API is the base class for classes that represent a virtual coordinate system with an origin that corresponds to a physical location. Spatial data in WebXR is always expressed in relationship to an instance of an XRSpace descendant at the time of a specific XRFrame. Numeric values such as pose positions are coordinates in that space relative to its origin. The XRSpace interface is only used through one of its descendent classes.

Interfaces based on XRSpace

Below is a list of interfaces based on the XRSpace interface.

Properties

None.

Methods

None.

Specifications

Specification Status Comment
WebXR Device API
The definition of 'XRSpace' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
XRSpaceChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

No support Ā 
No support