Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for AbsoluteOrientationSensor.
Developer library 5
Sensor APIs
not correspond exactly to a physical device sensor. For example, the Gyroscope interface corresponds exactly to a physical device interface. Alternatively, the AbsoluteOrientationSensor interface provides information that is algorithmically aggregated from two or more device sensors. These sensor types are referred to as _low-level_ and _high-level_ respectively. The latter type of sensor is also called a fusion sens
AbsoluteOrientationSensor
Sensor API The **`AbsoluteOrientationSensor`** interface of the [Sensor APIs](/docs/Web/API/Sensor_APIs) describes the device's physical orientation in relation to the Earth's reference coordinate system. To use this sensor, the user must grant permission to the `'accelerometer'`, `'gyroscope'`, and `'magnetometer'` device sensors through the [Permissions API](/docs/Web/API/Permissions_API). This feature may be bl
AbsoluteOrientationSensor: AbsoluteOrientationSensor() constructor
Sensor API The **`AbsoluteOrientationSensor()`** constructor creates a new AbsoluteOrientationSensor object which describes the device's physical orientation in relation to the Earth's reference coordinate system. ## Syntax ```js-nolint new AbsoluteOrientationSensor() new AbsoluteOrientationSensor(options) ``` ### Parameters - `options` - : Options are as follows: - `frequency` - : The desired numb
RelativeOrientationSensor
s/orientation-phone/), instantiates a `RelativeOrientationSensor` with a frequency of 60 times a second. > [!NOTE] > The Intel demo this is based on uses the `AbsoluteOrientationSensor`. On each reading it uses OrientationSensor.quaternion to rotate a visual model of a phone. ```js const options = { frequency: 60, referenceFrame: "device" }; const sensor = new RelativeOrientationSensor(options); sensor.addEventLis
OrientationSensor
Permissions_Policy) set on your 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 m