|
libdonut 2.3.6
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. | |
| vec2 | scrollAmount |
| Amount scrolled horizontally/vertically, with floating-point precision. | |
Public Attributes inherited from donut::events::MouseEventBase | |
| std::uint32_t | mouseId |
| Unique identifier of the mouse instance. | |
| ivec2 | mousePosition |
| Current mouse position relative to the window. | |
| ivec2 | relativeMouseMotion |
| Position offset relative to the previous position. | |
Public Attributes inherited from donut::events::InputEventBase | |
| std::uint32_t | windowId |
| Unique identifier of the window that this event belongs to, if any. | |
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.