AbsoluteOrientationSensor Class
The absolute orientation sensor (https://w3c.github.io/orientation-sensor/#absoluteorientationsensor-interface): the orientation of the device relative to the Earth. It reads the DeviceSensorType.AbsoluteOrientation sensor of the device, and needs the accelerometer, gyroscope and magnetometer permissions and features.
public sealed class AbsoluteOrientationSensor : OrientationSensor- Inheritance
OrientationSensorAbsoluteOrientationSensor
Constructors
| Name | Description |
|---|---|
| AbsoluteOrientationSensor(OrientationSensorOptions?) | Creates an absolute orientation sensor. |
AbsoluteOrientationSensor(OrientationSensorOptions?)
MotionSensors.csCreates an absolute orientation sensor.
public AbsoluteOrientationSensor(OrientationSensorOptions? sensorOptions = null)