Documentation de SFML 2.6.1

Attention: cette page se réfère à une ancienne version de SFML. Cliquez ici pour passer à la dernière version.
Loading...
Searching...
No Matches
sf::Event::SensorEvent Struct Reference

Sensor event parameters (SensorChanged) More...

#include <SFML/Window/Event.hpp>

Public Attributes

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

Detailed Description

Sensor event parameters (SensorChanged)

Definition at line 176 of file Event.hpp.

Member Data Documentation

◆ type

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

Type of the sensor.

Definition at line 178 of file Event.hpp.

◆ x

float sf::Event::SensorEvent::x

Current value of the sensor on X axis.

Definition at line 179 of file Event.hpp.

◆ y

float sf::Event::SensorEvent::y

Current value of the sensor on Y axis.

Definition at line 180 of file Event.hpp.

◆ z

float sf::Event::SensorEvent::z

Current value of the sensor on Z axis.

Definition at line 181 of file Event.hpp.


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