Documentation of SFML 2.2

Warning: this page refers to an old version of SFML. Click here to switch to the latest version.
sf::Event::SensorEvent Struct Reference

Sensor event parameters (SensorChanged) More...

#include <Event.hpp>

Public Attributes

Sensor::Type type
 Type of the sensor. More...
 
float x
 Current value of the sensor on X axis. More...
 
float y
 Current value of the sensor on Y axis. More...
 
float z
 Current value of the sensor on Z axis. More...
 

Detailed Description

Sensor event parameters (SensorChanged)

Definition at line 160 of file Event.hpp.

Member Data Documentation

Sensor::Type sf::Event::SensorEvent::type

Type of the sensor.

Definition at line 162 of file Event.hpp.

float sf::Event::SensorEvent::x

Current value of the sensor on X axis.

Definition at line 163 of file Event.hpp.

float sf::Event::SensorEvent::y

Current value of the sensor on Y axis.

Definition at line 164 of file Event.hpp.

float sf::Event::SensorEvent::z

Current value of the sensor on Z axis.

Definition at line 165 of file Event.hpp.


The documentation for this struct was generated from the following file: