XRViewerPose class
The WebXR Device API interface represents the pose (the position and orientation) of a viewer's point of view on the scene. Each can have multiple views to represent, for example, the slight separation between the left and right eye. This view can represent anything from the point-of-view of a user's XR headset to the viewpoint represented by a player's movement of an avatar using mouse and keyboard, presented on the screen, to a virtual camera capturing the scene for a spectator.
XRPose
XRViewerPose
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRViewerPose()
-
factory
Properties
- angularVelocity → DOMPointReadOnly?
-
Available on XRPose, provided by the PropsXRPose extension
no setter - emulatedPosition → bool
-
Available on XRPose, provided by the PropsXRPose extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- linearVelocity → DOMPointReadOnly?
-
Available on XRPose, provided by the PropsXRPose extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transform → XRRigidTransform
-
Available on XRPose, provided by the PropsXRPose extension
no setter -
views
→ Iterable<
XRView> -
Available on XRViewerPose, provided by the PropsXRViewerPose extension
no setter
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