GamepadPose class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Gamepad API represents the pose of a WebVR controller at a given timestamp (which includes orientation, position, velocity, and acceleration information.) This interface is accessible through the Gamepad.pose property.

Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

GamepadPose()
factory

Properties

angularAcceleration Float32List?

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
angularVelocity Float32List?

Available on GamepadPose, provided by the PropsGamepadPose extension

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

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
hasPosition bool

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
linearAcceleration Float32List?

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
linearVelocity Float32List?

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
orientation Float32List?

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
position Float32List?

Available on GamepadPose, provided by the PropsGamepadPose extension

no setter
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