Sensor

Give access to the real-time state of the sensors.

Members

Enums

Type
enum Type

Sensor type

Static functions

getValue
Vector3f getValue(Type sensor)

Get the current sensor value.

isAvailable
bool isAvailable(Type sensor)

Check if a sensor is available on the underlying platform.

setEnabled
void setEnabled(Type sensor, bool enabled)

Enable or disable a sensor.

Meta