class
Eagle::MouseMotionEvent
- Eagle::MouseMotionEvent
- Eagle::Event
- Reference
- Object
Overview
The mouse moved. #delta is the movement since the last event, which still works
when Window.relative_mouse= has locked the cursor.
Defined in:
eagle/core/events.crConstructors
-
.new(position : Eagle::Vec2, delta : Eagle::Vec2)
Creates a mouse motion event.
Instance Method Summary
-
#delta : Vec2
Movement since the last motion event.
-
#position : Vec2
Mouse position in window coordinates.