W3cubDocs

/Haxe JavaScript

DeviceRotationRate

package js.html

Available on js

A DeviceRotationRate object provides information about the rate at which the device is rotating around all three axes.

Documentation DeviceRotationRate by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Fields

read onlygamma:Float

The amount of rotation around the Y axis, in degrees per second.

read onlybeta:Float

The amount of rotation around the X axis, in degrees per second.

read onlyalpha:Float

The amount of rotation around the Z axis, in degrees per second.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DeviceRotationRate.html