C# Class SFML.Window.SensorEventArgs

Sensor event parameters
Inheritance: System.EventArgs
Mostrar archivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
Type Sensor.Type
X float
Y float
Z float

Public Methods

Method 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 method

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

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

Type public_oe property

Type of the sensor
public Sensor.Type Type
return Sensor.Type

X public_oe property

Current value of the sensor on X axis
public float X
return float

Y public_oe property

Current value of the sensor on Y axis
public float Y
return float

Z public_oe property

Current value of the sensor on Z axis
public float Z
return float