C# Class SFML.Window.SensorEventArgs

Sensor event parameters
Inheritance: System.EventArgs
Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Свойство Type Description
Type Sensor.Type
X float
Y float
Z float

Méthodes publiques

Méthode Description
SensorEventArgs ( SensorEvent e ) : System

Construct the sensor arguments from a sensor event

ToString ( ) : string

Provide a string describing the object

Method Details

SensorEventArgs() public méthode

Construct the sensor arguments from a sensor event
public SensorEventArgs ( SensorEvent e ) : System
e SensorEvent Sensor event
Résultat System

ToString() public méthode

Provide a string describing the object
public ToString ( ) : string
Résultat string

Property Details

Type public_oe property

Type of the sensor
public Sensor.Type Type
Résultat Sensor.Type

X public_oe property

Current value of the sensor on X axis
public float X
Résultat float

Y public_oe property

Current value of the sensor on Y axis
public float Y
Résultat float

Z public_oe property

Current value of the sensor on Z axis
public float Z
Résultat float