Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Unigine::InputEventMouseMotion Class
Header: | #include <UnigineInput.h> |
Inherits from: | InputEvent |
InputEventMouseMotion Class
Members
InputEventMouseMotion ( ) #
Default constructor.InputEventMouseMotion ( unsigned long long timestamp, const Math::ivec2 & mouse_pos, const Math::ivec2 & delta ) #
Mouse motion input event constructor.Arguments
- unsigned long long timestamp - Timestamp of the event.
- const Math::ivec2 & mouse_pos - Position of the mouse.
- const Math::ivec2 & delta - Delta of the mouse position from the previous event.
InputEventMouseMotion ( unsigned long long timestamp, const Math::ivec2 & mouse_pos ) #
Mouse motion input event constructor.Arguments
- unsigned long long timestamp - Timestamp of the event.
- const Math::ivec2 & mouse_pos - Position of the mouse.
void setDelta ( const Math::ivec2 & delta ) #
Sets the delta of the mouse position from the previous event.Arguments
- const Math::ivec2 & delta - Delta of the mouse position from the previous event.
Math::ivec2 getDelta ( ) const#
Returns the delta of the mouse position from the previous event.Return value
Delta of the mouse position from the previous event.The information on this page is valid for UNIGINE 2.18.1 SDK.
Last update:
19.04.2024
Помогите сделать статью лучше
(или выберите слово/фразу и нажмите Ctrl+Enter