![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
#include <MouseEvent.hpp>


Public Member Functions | |
| MouseEvent (MouseEventType type, castor::Position const &position, MouseButton button=MouseButton::eCount) | |
| Constructor. | |
| MouseEventType | getMouseEventType () const |
| MouseButton | getButton () const |
| castor::Position const & | getPosition () const |
Public Member Functions inherited from castor3d::UserInputEvent | |
| C3D_API | UserInputEvent (UserInputEvent &&)=default |
| C3D_API | UserInputEvent (UserInputEvent const &)=default |
| C3D_API UserInputEvent & | operator= (UserInputEvent &&)=default |
| C3D_API UserInputEvent & | operator= (UserInputEvent const &)=default |
| UserInputEvent (UserInputEventType type) | |
| Constructor. | |
| virtual C3D_API | ~UserInputEvent () noexcept=default |
| Destructor. | |
| UserInputEventType | getEventType () const |
|
inline |
Constructor.
| [in] | type | The mouse event type. |
| [in] | position | The position, of wheel or mouse, depending on the event type. |
| [in] | button | The mouse button. |
|
inline |
|
inline |
|
inline |