Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Any kind of mouse event. More...
#include <IEventReceiver.h>
Public Member Functions | |
bool | isLeftPressed () const |
Is the left button pressed down? | |
bool | isMiddlePressed () const |
Is the middle button pressed down? | |
bool | isRightPressed () const |
Is the right button pressed down? | |
Public Attributes | |
u32 | ButtonStates |
bool | Control:1 |
True if ctrl was also pressed. | |
EMOUSE_INPUT_EVENT | Event |
Type of mouse event. | |
bool | Shift:1 |
True if shift was also pressed. | |
f32 | Wheel |
mouse wheel delta, usually 1.0 or -1.0. | |
s32 | X |
X position of mouse cursor. | |
s32 | Y |
Y position of mouse cursor. |
Any kind of mouse event.
Definition at line 274 of file IEventReceiver.h.
bool irr::SEvent::SMouseInput::isLeftPressed | ( | ) | const [inline] |
Is the left button pressed down?
Definition at line 298 of file IEventReceiver.h.
References ButtonStates, and irr::EMBSM_LEFT.
bool irr::SEvent::SMouseInput::isMiddlePressed | ( | ) | const [inline] |
Is the middle button pressed down?
Definition at line 304 of file IEventReceiver.h.
References ButtonStates, and irr::EMBSM_MIDDLE.
bool irr::SEvent::SMouseInput::isRightPressed | ( | ) | const [inline] |
Is the right button pressed down?
Definition at line 301 of file IEventReceiver.h.
References ButtonStates, and irr::EMBSM_RIGHT.
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 295 of file IEventReceiver.h.
Referenced by isLeftPressed(), isMiddlePressed(), and isRightPressed().
True if ctrl was also pressed.
Definition at line 290 of file IEventReceiver.h.
Type of mouse event.
Definition at line 307 of file IEventReceiver.h.
True if shift was also pressed.
Definition at line 287 of file IEventReceiver.h.
mouse wheel delta, usually 1.0 or -1.0.
Only valid if event was EMIE_MOUSE_WHEEL
Definition at line 284 of file IEventReceiver.h.
X position of mouse cursor.
Definition at line 277 of file IEventReceiver.h.
Y position of mouse cursor.
Definition at line 280 of file IEventReceiver.h.
The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Sun Feb 14 13:07:03 2010 by Doxygen
(1.6.2) |