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
Measures the direction and intensity of device acceleration, independent of the gravity (m/s^2) ...
Measures the direction and intensity of gravity, independent of device acceleration (m/s^2) ...
Give access to the real-time state of the sensors.
Utility template class for manipulating 3-dimensional vectors.
Measures the absolute 3D orientation (degrees)
Measures the ambient magnetic field (micro-teslas)
Measures the raw acceleration (m/s^2)
Measures the raw rotation rates (degrees/s)