XRSpace class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The 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 , at the time at which a given XRFrame takes place. Numeric values such as pose positions are thus coordinates in the corresponding , relative to that space's origin.
Note: The interface is never used directly; instead, all spaces are created using one of the interfaces based on . At this time, those are XRReferenceSpace, XRBoundedReferenceSpace, and XRJointSpace.
EventTarget
XRSpace
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- XRSpace()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited