此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
DeviceMotionEventRotationRate
>设备方向事件的 DeviceMotionEventRotationRate 接口提供有关设备绕三个轴旋转速度的信息。
实例属性
DeviceMotionEventRotationRate.alpha只读-
绕 Z 轴的旋转量(以度/秒为单位)。
DeviceMotionEventRotationRate.beta只读-
绕 X 轴的旋转量(以度/秒为单位)。
DeviceMotionEventRotationRate.gamma只读-
绕 Y 轴的旋转量(以度/秒为单位)。
规范
| 规范 |
|---|
| Device Orientation and Motion> # devicemotioneventrotationrate> |
