A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor/quaternion below:

OrientationSensor: quaternion property - Web APIs

OrientationSensor: quaternion property

Limited availability

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The quaternion read-only property of the OrientationSensor interface returns a four element Array whose elements contain the components of the unit quaternion representing the device's orientation.

Because OrientationSensor is a base class, quaternion may only be read from one of its derived classes.

Value

An Array whose values are the x, y, z, and w components of the quaternion representing the device orientation.

Examples Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4