Class XRSpace
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The XRSpace interface of the WebXR Device API is an abstract interface providing a common basis for every class which represents a virtual coordinate system within the virtual world, in which its origin corresponds to a physical location. Spatial data in WebXR is always expressed relative to an object based upon one of the descendant interfaces of XRSpace, at the time at which a given XRFrame takes place.
[Value("XRSpace")]
public class XRSpace : EventTarget
- Inheritance
-
XRSpace
- Derived
- Inherited Members
Remarks
Numeric values such as pose positions are thus coordinates in the corresponding XRSpace, relative to that space's origin.
NOTE
The
XRSpaceinterface is never used directly; instead, all spaces are created using one of the interfaces based onXRSpace. At this time, those are XRReferenceSpace, XRBoundedReferenceSpace, and XRJointSpace.
Constructors
XRSpace()
public XRSpace()