![]() |
Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
|
Event arguments for mouse-wheel input routed to a widget. More...
Public Member Functions | |
| WidgetMouseWheelEventArgs (WidgetBase widget, View view, PointF screenPositionPx, int delta, long tick=0) | |
| Initializes a new wheel event. | |
Properties | |
| View | View [get] |
| Gets the view through which the input was routed. | |
| PointF | ScreenPositionPx [get] |
| Gets the pointer position in screen pixels. | |
| int | Delta [get] |
| Gets the wheel delta. Positive values scroll upward; negative values scroll downward. | |
| Properties inherited from Gondwana.Widgets.WidgetEventArgs | |
| WidgetBase | Widget [get] |
| Gets the widget that raised the callback. | |
| long | Tick [get] |
| Gets the engine or timer tick associated with the callback. | |
| bool | Handled [get, set] |
| Gets or sets whether this widget interaction was handled. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Gondwana.Widgets.WidgetEventArgs | |
| WidgetEventArgs (WidgetBase widget, long tick) | |
| Initializes a new instance of the WidgetEventArgs class. | |
Event arguments for mouse-wheel input routed to a widget.
Definition at line 9 of file WidgetMouseWheelEventArgs.cs.
| Gondwana.Widgets.WidgetMouseWheelEventArgs.WidgetMouseWheelEventArgs | ( | WidgetBase | widget, |
| View | view, | ||
| PointF | screenPositionPx, | ||
| int | delta, | ||
| long | tick = 0 ) |
Initializes a new wheel event.
| widget | The widget. |
| view | The view used for presentation and coordinate conversion. |
| screenPositionPx | The screen position px. |
| delta | The delta. |
| tick | The current engine tick. |
Definition at line 17 of file WidgetMouseWheelEventArgs.cs.
|
get |
Gets the wheel delta. Positive values scroll upward; negative values scroll downward.
Definition at line 32 of file WidgetMouseWheelEventArgs.cs.
|
get |
Gets the pointer position in screen pixels.
Definition at line 29 of file WidgetMouseWheelEventArgs.cs.
|
get |
Gets the view through which the input was routed.
Definition at line 26 of file WidgetMouseWheelEventArgs.cs.