このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
DeviceMotionEventRotationRate
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
DeviceMotionEventRotationRate は 端末方向イベントのインターフェイスで、端末が回転する 3 つの軸すべての速度に関する情報を提供します。
インスタンスプロパティ
DeviceMotionEventRotationRate.alpha読取専用-
Z 軸上の回転量を秒あたりの角度で表します。
DeviceMotionEventRotationRate.beta読取専用-
X 軸上の回転量を秒あたりの角度で表します。
DeviceMotionEventRotationRate.gamma読取専用-
Y 軸上の回転量を秒あたりの角度で表します。
仕様書
| Specification |
|---|
| Device Orientation and Motion> # devicemotioneventrotationrate> |
ブラウザーの互換性
Loading...