Unigine::InputEventSystem Class
Header: | #include <UnigineInput.h> |
Inherits from: | InputEvent |
InputEventSystem Class
Перечисления (Enums)
ACTION#
System event actions.Имя | Описание |
---|---|
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:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter