Sensors
Sensors measure the environmental characteristics of the device that the application is running on. You can use the Sensor API to access information like a device's speed, orientation, or ambient temperature.
| Topic | Description |
|---|---|
| Sensors introduction | Configure sensors to get information about environmental characteristics of devices. |
| Query sensors in code | Access information about the sensors connected to your application. |
| Get the device location | Read the geographic location of the device from the location sensor. |
| Get the compass heading | Read the direction that the device faces, relative to magnetic north or true north. |
| Get the physical orientation of a device | Detect whether the device is upright in portrait or landscape, or lying flat. |
| Gyroscope bias and drift | Understand gyroscope bias and drift, and choose which gyroscope device to use. |
| Supported sensors reference | Explore the sensor types the Input System can access. |