C# Class SFML.Window.KeyEventArgs

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

Méthodes publiques

Свойство Type Description
Alt bool
Code Keyboard.Key
Control bool
Shift bool
System bool

Méthodes publiques

Méthode Description
KeyEventArgs ( KeyEvent e ) : System

Construct the key arguments from a key event

ToString ( ) : string

Provide a string describing the object

Method Details

KeyEventArgs() public méthode

Construct the key arguments from a key event
public KeyEventArgs ( KeyEvent e ) : System
e KeyEvent Key event
Résultat System

ToString() public méthode

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

Property Details

Alt public_oe property

Is the Alt modifier pressed?
public bool Alt
Résultat bool

Code public_oe property

Code of the key (see KeyCode enum)
public Keyboard.Key Code
Résultat Keyboard.Key

Control public_oe property

Is the Control modifier pressed?
public bool Control
Résultat bool

Shift public_oe property

Is the Shift modifier pressed?
public bool Shift
Résultat bool

System public_oe property

Is the System modifier pressed?
public bool System
Résultat bool