![]() |
Skylicht Engine
|
Any kind of mouse event. More...
#include <C:/Projects/skylicht-engine/Projects/Irrlicht/Include/IEventReceiver.h>
Public Attributes | |
| s32 | X |
| X position of mouse cursor. | |
| s32 | Y |
| Y position of mouse cursor. | |
| s32 | ID |
| ID of the touch. | |
| f32 | Wheel |
| mouse wheel delta, often 1.0 or -1.0, but can have other values < 0.f or > 0.f; | |
| bool | Shift:1 |
| True if shift was also pressed. | |
| bool | Control:1 |
| True if ctrl was also pressed. | |
| u32 | ButtonStates |
| EMOUSE_INPUT_EVENT | Event |
| Type of mouse event. | |
Any kind of mouse event.
| 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
| 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