![]() |
Paradox Game Engine
v1.0.0 beta06
|
A keyboard event. More...
Public Member Functions | |
| KeyEvent (Keys key, KeyEventType type) | |
| Initializes a new instance of the KeyEvent struct. More... | |
| bool | Equals (KeyEvent other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override string | ToString () |
Static Public Member Functions | |
| static bool | operator== (KeyEvent left, KeyEvent right) |
| Implements the ==. More... | |
| static bool | operator!= (KeyEvent left, KeyEvent right) |
| Implements the !=. More... | |
Public Attributes | |
| readonly Keys | Key |
| The key that is being pressed or released. More... | |
| readonly KeyEventType | Type |
| The key event type (released or pressed). More... | |
A keyboard event.
Definition at line 10 of file KeyEvent.cs.
| SiliconStudio.Paradox.Input.KeyEvent.KeyEvent | ( | Keys | key, |
| KeyEventType | type | ||
| ) |
Initializes a new instance of the KeyEvent struct.
| key | The key. |
| type | The type. |
Definition at line 27 of file KeyEvent.cs.
| bool SiliconStudio.Paradox.Input.KeyEvent.Equals | ( | KeyEvent | other | ) |
Definition at line 34 of file KeyEvent.cs.
| override bool SiliconStudio.Paradox.Input.KeyEvent.Equals | ( | object | obj | ) |
Definition at line 40 of file KeyEvent.cs.
| override int SiliconStudio.Paradox.Input.KeyEvent.GetHashCode | ( | ) |
Definition at line 47 of file KeyEvent.cs.
|
static |
Implements the !=.
| left | The left. |
| right | The right. |
Definition at line 72 of file KeyEvent.cs.
|
static |
Implements the ==.
| left | The left. |
| right | The right. |
Definition at line 61 of file KeyEvent.cs.
| override string SiliconStudio.Paradox.Input.KeyEvent.ToString | ( | ) |
Definition at line 77 of file KeyEvent.cs.
| readonly Keys SiliconStudio.Paradox.Input.KeyEvent.Key |
The key that is being pressed or released.
Definition at line 15 of file KeyEvent.cs.
| readonly KeyEventType SiliconStudio.Paradox.Input.KeyEvent.Type |
The key event type (released or pressed).
Definition at line 20 of file KeyEvent.cs.