![]() |
Lysa
0.0
Lysa 3D Engine
|
An engine event carrying a typed payload.
Lua full name: lysa.Event
Public Member Functions | |
| number | get_double () |
| Returns the event payload as a double. More... | |
| number | get_float () |
| Returns the event payload as a float. More... | |
| integer | get_int32 () |
| Returns the event payload as an int32. More... | |
| InputEvent | get_input_event () |
| Returns the event payload as an InputEvent. More... | |
Properties | |
| integer | id |
| Unique event identifier. | |
| any | type |
| The event type string or constant. | |
| boolean | consumed |
| True if the event has already been consumed; set to true to stop further processing. | |
|
Returns the event payload as a double.
|
Returns the event payload as a float.
|
Returns the event payload as an int32.
|
Returns the event payload as an InputEvent.
| integer id |
Unique event identifier.
| any type |
The event type string or constant.
| boolean consumed |
True if the event has already been consumed; set to true to stop further processing.