XRViewport class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The WebXR Device API's interface provides properties used to describe the size and position of the current viewport within the XRWebGLLayer being used to render the 3D scene.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRViewport()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Available on XRViewport, provided by the PropsXRViewport extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Available on XRViewport, provided by the PropsXRViewport extension
no setter - x → int
-
Available on XRViewport, provided by the PropsXRViewport extension
no setter - y → int
-
Available on XRViewport, provided by the PropsXRViewport 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