WebIDLpedia

OrientationSensor interface

Definition

Orientation Sensor defines OrientationSensor



[SecureContext, Exposed=Window]
interface OrientationSensor : Sensor {
  readonly attribute FrozenArray<double>? quaternion;
  undefined populateMatrix(RotationMatrixType targetMatrix);
};

Referring IDL interfaces/dictionaries