ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Base mouse event
Public Member Functions | |
auto | getPosition () const |
auto | getX () const |
auto | getY () const |
auto | getButtonsState () |
auto | getModifiers () const |
![]() | |
InputEventType | getType () const |
![]() | |
void | connect (const Signal::signal &name, const Signal::Handler &handler) |
void | connect (const Signal::signal &name, const function< void ()> &handler) |
void | emit (const Signal::signal &name, void *params=nullptr) |
virtual string | toString () const |
|
nodiscardinline |
Returns the mouse button states (which button is down)
|
nodiscardinline |
Returns the state of the z0::KeyModifier keys
|
nodiscardinline |
Returns the current mouse position
|
nodiscardinline |
Returns the current mouse x position
|
nodiscardinline |
Returns the current mouse y position