RelativeOrientationSensor Class
The relative orientation sensor (https://w3c.github.io/orientation-sensor/#relativeorientationsensor-interface): the orientation of the device relative to a stationary frame. It reads the DeviceSensorType.RelativeOrientation sensor of the device, and needs the accelerometer and gyroscope permissions and features.
public sealed class RelativeOrientationSensor : OrientationSensor- Inheritance
OrientationSensorRelativeOrientationSensor
Constructors
| Name | Description |
|---|---|
| RelativeOrientationSensor(OrientationSensorOptions?) | Creates a relative orientation sensor. |
RelativeOrientationSensor(OrientationSensorOptions?)
MotionSensors.csCreates a relative orientation sensor.
public RelativeOrientationSensor(OrientationSensorOptions? sensorOptions = null)