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.Input.Touch.TouchEventArgs Class Referencesealed

Provides data for touch contact events raised by ITouchInput, including the touch point and engine tick associated with the event. More...

Inheritance diagram for Gondwana.Input.Touch.TouchEventArgs:

Public Member Functions

 TouchEventArgs (TouchPoint touch, long tick=0)
 Initializes a new instance of the TouchEventArgs class.

Properties

TouchPoint Touch [get]
 Gets the touch contact point associated with this event.
long Tick [get]
 Gets the engine tick at which this touch event was emitted.

Detailed Description

Provides data for touch contact events raised by ITouchInput, including the touch point and engine tick associated with the event.

Definition at line 7 of file TouchEventArgs.cs.

Constructor & Destructor Documentation

◆ TouchEventArgs()

Gondwana.Input.Touch.TouchEventArgs.TouchEventArgs ( TouchPoint touch,
long tick = 0 )

Initializes a new instance of the TouchEventArgs class.

Parameters
touchThe touch contact point that caused the event.
tickThe engine tick at which the event was emitted.

Definition at line 24 of file TouchEventArgs.cs.

Property Documentation

◆ Tick

long Gondwana.Input.Touch.TouchEventArgs.Tick
get

Gets the engine tick at which this touch event was emitted.

Definition at line 17 of file TouchEventArgs.cs.

◆ Touch

TouchPoint Gondwana.Input.Touch.TouchEventArgs.Touch
get

Gets the touch contact point associated with this event.

Definition at line 12 of file TouchEventArgs.cs.