libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Mouse wheel was scrolled. More...
#include <donut/events/Event.hpp>
Public Attributes | |
ivec2 | scrollTicks |
Number of scrolls horizontally/vertically. More... | |
vec2 | scrollAmount |
Amount scrolled horizontally/vertically, with floating-point precision. More... | |
Public Attributes inherited from donut::events::MouseEventBase | |
std::uint32_t | mouseId |
Unique identifier of the mouse instance. More... | |
ivec2 | mousePosition |
Current mouse position relative to the window. More... | |
ivec2 | relativeMouseMotion |
Position offset relative to the previous position. More... | |
Public Attributes inherited from donut::events::InputEventBase | |
std::uint32_t | windowId |
Unique identifier of the window that this event belongs to, if any. More... | |
Mouse wheel was scrolled.
ivec2 donut::events::MouseWheelScrolledEvent::scrollTicks |
Number of scrolls horizontally/vertically.
vec2 donut::events::MouseWheelScrolledEvent::scrollAmount |
Amount scrolled horizontally/vertically, with floating-point precision.