XRView class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The WebXR Device API's interface describes a single view into the XR scene for a specific frame, providing orientation and position information for the viewpoint. You can think of it as a description of a specific eye or camera and how it views the world. A 3D frame will involve two views, one for each eye, separated by an appropriate distance which approximates the distance between the viewer's eyes. This allows the two views, when projected in isolation into the appropriate eyes, to simulate a 3D world.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

XRView()
factory

Properties

eye XREye

Available on XRView, provided by the PropsXRView extension

no setter
hashCode int
The hash code for this object.
no setterinherited
isFirstPersonObserver bool

Available on XRView, provided by the PropsXRView extension

no setter
projectionMatrix Float32List

Available on XRView, provided by the PropsXRView extension

no setter
recommendedViewportScale double?

Available on XRView, provided by the PropsXRView extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transform XRRigidTransform

Available on XRView, provided by the PropsXRView extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestViewportScale(double? scale) → void

Available on XRView, provided by the PropsXRView extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited