Unigine.InputEventMouseButton Class
Inherits from: | InputEvent |
InputEventMouseButton Class
Перечисления (Enums)
ACTION#
Имя | Описание |
---|---|
DOWN = 0 | Mouse button has been pressed. |
UP = 1 | Mouse button has been released. |
Properties
InputEventMouseButton.ACTION Action#
The Action performed by the mouse button.
Input.MOUSE_BUTTON Button#
The Mouse button, one of the MOUSE_BUTTON.* values.
Members
InputEventMouseButton ( ) #
Default constructor.InputEventMouseButton ( ulong timestamp, ivec2 mouse_pos ) #
Mouse button input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
InputEventMouseButton ( ulong timestamp, ivec2 mouse_pos, InputEventMouseButton.ACTION action, Input.MOUSE_BUTTON button ) #
Mouse button input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
- InputEventMouseButton.ACTION action - Action performed.
- Input.MOUSE_BUTTON button - Mouse button.
Last update:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter