1. 開発者向けのウェブ技術
  2. Web API
  3. DeviceMotionEventRotationRate

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

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

ブラウザーの互換性

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /