class
Eagle::MouseWheelEvent
- Eagle::MouseWheelEvent
- Eagle::Event
- Reference
- Object
Overview
The wheel or trackpad scrolled. delta.y is positive when scrolling up.
Defined in:
eagle/core/events.crConstructors
-
.new(delta : Eagle::Vec2, position : Eagle::Vec2)
Creates a mouse wheel event.
Instance Method Summary
-
#delta : Vec2
Scroll amount.
-
#position : Vec2
Mouse position in window coordinates.