Class MouseScrolledEvent¶
Defined in File input_events.h
Inheritance Relationships¶
Base Type¶
public Event
Class Documentation¶
-
class MouseScrolledEvent : public Event¶
Event fired when the mouse scroll wheel rotates.
Contains scroll offset as a 2D vector: y component for vertical scrolling (positive = up, negative = down), x component for horizontal scrolling on supported devices (trackpads, horizontal scroll wheels).
See also
InputManager::get_mouse_scroll() - Query cached scroll offset