arsa
2.7
|
Any kind of mouse event. More...
#include <IEventReceiver.h>
Public Member Functions | |
bool | isLeftPressed () const |
Is the left button pressed down? More... | |
bool | isRightPressed () const |
Is the right button pressed down? More... | |
bool | isMiddlePressed () const |
Is the middle button pressed down? More... | |
Public Attributes | |
s32 | X |
X position of mouse cursor. More... | |
s32 | Y |
Y position of mouse cursor. More... | |
f32 | Wheel |
mouse wheel delta, often 1.0 or -1.0, but can have other values < 0.f or > 0.f; More... | |
bool | Shift:1 |
True if shift was also pressed. More... | |
bool | Control:1 |
True if ctrl was also pressed. More... | |
u32 | ButtonStates |
EMOUSE_INPUT_EVENT | Event |
Type of mouse event. More... | |
Any kind of mouse event.
Definition at line 357 of file IEventReceiver.h.
|
inline |
Is the left button pressed down?
Definition at line 381 of file IEventReceiver.h.
|
inline |
Is the middle button pressed down?
Definition at line 387 of file IEventReceiver.h.
|
inline |
Is the right button pressed down?
Definition at line 384 of file IEventReceiver.h.
u32 irr::SEvent::SMouseInput::ButtonStates |
A bitmap of button states. You can use isButtonPressed() to determine if a button is pressed or not. Currently only valid if the event was EMIE_MOUSE_MOVED
Definition at line 378 of file IEventReceiver.h.
bool irr::SEvent::SMouseInput::Control |
True if ctrl was also pressed.
Definition at line 373 of file IEventReceiver.h.
EMOUSE_INPUT_EVENT irr::SEvent::SMouseInput::Event |
Type of mouse event.
Definition at line 390 of file IEventReceiver.h.
bool irr::SEvent::SMouseInput::Shift |
True if shift was also pressed.
Definition at line 370 of file IEventReceiver.h.
f32 irr::SEvent::SMouseInput::Wheel |
mouse wheel delta, often 1.0 or -1.0, but can have other values < 0.f or > 0.f;
Only valid if event was EMIE_MOUSE_WHEEL
Definition at line 367 of file IEventReceiver.h.
s32 irr::SEvent::SMouseInput::X |
X position of mouse cursor.
Definition at line 360 of file IEventReceiver.h.
s32 irr::SEvent::SMouseInput::Y |
Y position of mouse cursor.
Definition at line 363 of file IEventReceiver.h.