OrientationSensor: quaternion プロパティ
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
OrientationSensor
インターフェイスの読み取り専用プロパティ quaternion
は、各要素がデバイスの向きを表す単位四元数の成分である 4 要素の Array
を返します。
OrientationSensor
はベースクラスなので、quaternion
は派生クラスからのみ読み取ることができます。
値
デバイスの向きを表す四元数の x, y, z, w 成分を値とする Array
です。
例
js
// TBD
仕様書
Specification |
---|
Orientation Sensor # orientationsensor-quaternion |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
quaternion |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.