WebIDLpedia

GamepadPose interface

Definition

Gamepad Extensions defines GamepadPose



[Exposed=Window]
interface GamepadPose {
  readonly attribute boolean hasOrientation;
  readonly attribute boolean hasPosition;

  readonly attribute Float32Array? position;
  readonly attribute Float32Array? linearVelocity;
  readonly attribute Float32Array? linearAcceleration;
  readonly attribute Float32Array? orientation;
  readonly attribute Float32Array? angularVelocity;
  readonly attribute Float32Array? angularAcceleration;
};

Methods and attributes that return objects implementing GamepadPose

Referring IDL interfaces/dictionaries