Antkeeper
0.0.1
|
Event generated when a mouse has been scrolled. More...
#include <mouse-events.hpp>
Public Attributes | |
mouse * | mouse {nullptr} |
Mouse that generated the event. More... | |
math::vec2< std::int32_t > | position {0, 0} |
Mouse position, in pixels, relative to the window, when the mouse was scrolled. More... | |
math::fvec2 | velocity {0.0f, 0.0f} |
Scroll velocity. More... | |
Event generated when a mouse has been scrolled.
Definition at line 81 of file mouse-events.hpp.
mouse* input::mouse_scrolled_event::mouse {nullptr} |
Mouse that generated the event.
Definition at line 84 of file mouse-events.hpp.
math::vec2<std::int32_t> input::mouse_scrolled_event::position {0, 0} |
Mouse position, in pixels, relative to the window, when the mouse was scrolled.
Definition at line 87 of file mouse-events.hpp.
math::fvec2 input::mouse_scrolled_event::velocity {0.0f, 0.0f} |
Scroll velocity.
Definition at line 90 of file mouse-events.hpp.