![]() |
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.
|
Describes an unhandled primary pointer action routed to gameplay after widget hit testing. More...
Public Member Functions | |
| PrimaryPointerActionEventArgs (View view, Point screenPositionPx, bool isTouch, int pointerId) | |
| Creates a gameplay pointer action. | |
Properties | |
| View | View [get] |
| Gets the view whose viewport contains this action. | |
| Point | ScreenPositionPx [get] |
| Gets the action position in logical screen pixels. | |
| bool | IsTouch [get] |
| Gets whether this action originated from a touch tap. | |
| int | PointerId [get] |
| Gets the touch contact ID, or the mouse pointer ID for mouse actions. | |
Describes an unhandled primary pointer action routed to gameplay after widget hit testing.
Definition at line 9 of file PrimaryPointerActionEventArgs.cs.
| Gondwana.Widgets.PrimaryPointerActionEventArgs.PrimaryPointerActionEventArgs | ( | View | view, |
| Point | screenPositionPx, | ||
| bool | isTouch, | ||
| int | pointerId ) |
Creates a gameplay pointer action.
| view | The topmost view containing the pointer. |
| screenPositionPx | The position in logical screen pixels. |
| isTouch | True for a recognized single-finger tap; false for a left mouse press. |
| pointerId | The touch ID or WidgetInputRouter.MousePointerId. |
Definition at line 16 of file PrimaryPointerActionEventArgs.cs.
|
get |
Gets whether this action originated from a touch tap.
Definition at line 31 of file PrimaryPointerActionEventArgs.cs.
|
get |
Gets the touch contact ID, or the mouse pointer ID for mouse actions.
Definition at line 34 of file PrimaryPointerActionEventArgs.cs.
|
get |
Gets the action position in logical screen pixels.
Definition at line 28 of file PrimaryPointerActionEventArgs.cs.
|
get |
Gets the view whose viewport contains this action.
Definition at line 25 of file PrimaryPointerActionEventArgs.cs.