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.
Loading...
Searching...
No Matches
Gondwana.Widgets.PrimaryPointerActionEventArgs Class Referencesealed

Describes an unhandled primary pointer action routed to gameplay after widget hit testing. More...

Inheritance diagram for Gondwana.Widgets.PrimaryPointerActionEventArgs:

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.

Detailed Description

Describes an unhandled primary pointer action routed to gameplay after widget hit testing.

Definition at line 9 of file PrimaryPointerActionEventArgs.cs.

Constructor & Destructor Documentation

◆ PrimaryPointerActionEventArgs()

Gondwana.Widgets.PrimaryPointerActionEventArgs.PrimaryPointerActionEventArgs ( View view,
Point screenPositionPx,
bool isTouch,
int pointerId )

Creates a gameplay pointer action.

Parameters
viewThe topmost view containing the pointer.
screenPositionPxThe position in logical screen pixels.
isTouchTrue for a recognized single-finger tap; false for a left mouse press.
pointerIdThe touch ID or WidgetInputRouter.MousePointerId.

Definition at line 16 of file PrimaryPointerActionEventArgs.cs.

Property Documentation

◆ IsTouch

bool Gondwana.Widgets.PrimaryPointerActionEventArgs.IsTouch
get

Gets whether this action originated from a touch tap.

Definition at line 31 of file PrimaryPointerActionEventArgs.cs.

◆ PointerId

int Gondwana.Widgets.PrimaryPointerActionEventArgs.PointerId
get

Gets the touch contact ID, or the mouse pointer ID for mouse actions.

Definition at line 34 of file PrimaryPointerActionEventArgs.cs.

◆ ScreenPositionPx

Point Gondwana.Widgets.PrimaryPointerActionEventArgs.ScreenPositionPx
get

Gets the action position in logical screen pixels.

Definition at line 28 of file PrimaryPointerActionEventArgs.cs.

◆ View

View Gondwana.Widgets.PrimaryPointerActionEventArgs.View
get

Gets the view whose viewport contains this action.

Definition at line 25 of file PrimaryPointerActionEventArgs.cs.