XRInputSource 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 source of control input which is part of the user's WebXR-compatible virtual or augmented reality system. The device is specific to the platform being used, but provides the direction in which it is being aimed and optionally may generate events if the user triggers performs actions using the device.
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- XRInputSource()
-
factory
Properties
- gamepad → Gamepad?
-
Available on XRInputSource, provided by the PropsXRInputSource extension
no setter - gripSpace → XRSpace?
-
Available on XRInputSource, provided by the PropsXRInputSource extension
no setter - hand → XRHand?
-
Available on XRInputSource, provided by the PropsXRInputSource extension
no setter - handedness → XRHandedness
-
Available on XRInputSource, provided by the PropsXRInputSource extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
profiles
→ Iterable<
String> -
Available on XRInputSource, provided by the PropsXRInputSource extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetRayMode → XRTargetRayMode
-
Available on XRInputSource, provided by the PropsXRInputSource extension
no setter - targetRaySpace → XRSpace
-
Available on XRInputSource, provided by the PropsXRInputSource 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