25 #ifndef SFML_SENSOR_HPP 26 #define SFML_SENSOR_HPP 31 #include <SFML/Window/Export.hpp> 32 #include <SFML/System/Vector3.hpp> 33 #include <SFML/System/Time.hpp> 70 static bool isAvailable(Type sensor);
85 static void setEnabled(Type sensor,
bool enabled);
95 static Vector3f getValue(Type sensor);
101 #endif // SFML_SENSOR_HPP Give access to the real-time state of the sensors.
Measures the raw acceleration (m/s^2)
Utility template class for manipulating 3-dimensional vectors.
Measures the direction and intensity of device acceleration, independent of the gravity (m/s^2) ...
Measures the raw rotation rates (degrees/s)
Measures the ambient magnetic field (micro-teslas)
Measures the absolute 3D orientation (degrees)
Measures the direction and intensity of gravity, independent of device acceleration (m/s^2) ...