Unigine::InputEventSystem Class
Header: | #include <UnigineInput.h> |
Inherits from: | InputEvent |
InputEventSystem Class
Enums
ACTION#
System event actions.Name | Description |
---|---|
ACTION_KEYBOARD_LAYOUT_CHANGED = 0 | Keyboard layout has changed. |
Members
InputEventSystem ( ) #
Default constructor.InputEventSystem ( unsigned int timestamp, const Math::ivec2 & mouse_pos ) #
Default constructor.Arguments
- unsigned int timestamp - Timestamp of the event (time when the event occurred).
- const Math::ivec2 & mouse_pos - Coordinates of the mouse cursor position along X and Y axes.
InputEventSystem ( unsigned int timestamp, const Math::ivec2 & mouse_pos, InputEventSystem::ACTION action ) #
Default constructor.Arguments
- unsigned int timestamp - Timestamp of the event (time when the event occurred).
- const Math::ivec2 & mouse_pos - Coordinates of the mouse cursor position along X and Y axes.
- InputEventSystem::ACTION action - action of the system event.
void setAction ( InputEventSystem::ACTION action ) #
Sets the action for the system event.Arguments
- InputEventSystem::ACTION action - New action to be set for the system event.
InputEventSystem::ACTION getAction ( ) const#
Returns the action of the system event.Return value
Current system event action.Last update:
2023-06-23
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)