Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
4 results across 6 corpora for RelativeOrientationSensor.
Developer library 4
Sensor APIs
Sensor` | `'accelerometer'` | | `Magnetometer` | `'magnetometer'` | | `RelativeOrientationSensor` | `'accelerometer'`, and `'gyroscope'` | ### Readings Sensor readings are received through the reading event callback which is inherited by all sensor types. Reading frequency is decided by you, accomplished with
RelativeOrientationSensor
Sensor API The **`RelativeOrientationSensor`** interface of the [Sensor APIs](/docs/Web/API/Sensor_APIs) describes the device's physical orientation without regard to the Earth's reference coordinate system. To use this sensor, the user must grant permission to the `'accelerometer'`, and `'gyroscope'` device sensors through the [Permissions API](/docs/Web/API/Permissions_API). In addition, this feature may be block
RelativeOrientationSensor: RelativeOrientationSensor() constructor
Sensor API The **`RelativeOrientationSensor()`** constructor creates a new RelativeOrientationSensor object which describes the device's physical orientation. ## Syntax ```js-nolint new RelativeOrientationSensor() new RelativeOrientationSensor(options) ``` ### Parameters - `options` - : Options are as follows: - `frequency` - : The desired number of times per second a sample should be taken
OrientationSensor
our server. ## Interfaces based on OrientationSensor Below is a list of interfaces based on the OrientationSensor interface. - AbsoluteOrientationSensor - RelativeOrientationSensor ## Instance properties - OrientationSensor.quaternion - : Returns a four element Array whose elements contain the components of the unit quaternion representing the device's orientation. ## Instance methods - OrientationSensor.