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.Gestures Namespace Reference

Classes

class  GestureEventArgs
 Provides data for the TouchEventPoller.TouchEvent, carrying the details of a recognized gesture. Check IsTap, IsSwipe, or IsPinch to determine which kind of gesture occurred, then access the corresponding nullable property (Tap, Swipe, or Pinch) for the specific data. More...
class  PinchedEventArgs
 Provides data for the PinchGestureRecognizer.PinchUpdated event, describing the change in scale produced by a two-finger pinch or spread gesture. More...
class  PinchGestureRecognizer
 Recognizes two-finger pinch and spread gestures by listening to touch events from an ITouchInput source. Raises PinchUpdated each time the distance between the two active contact points changes, providing a relative scale delta. More...
class  SwipedEventArgs
 Provides data for the SwipeGestureRecognizer.Swiped event, including the direction, start and end positions, and the computed speed of the swipe. More...
class  SwipeGestureRecognizer
 Recognizes swipe gestures by listening to touch events from an ITouchInput source. A swipe is a single-finger gesture that ends with sufficient speed and with a clear primary direction. Short or slow drags do not qualify. More...
class  TapGestureRecognizer
 Recognizes single-finger tap gestures by listening to touch events from an ITouchInput source. A tap is defined as a touch that begins and ends within a configurable maximum duration and without exceeding a configurable maximum movement distance. Long presses and drags are ignored. More...
class  TappedEventArgs
 Provides data for the TapGestureRecognizer.Tapped event, including the screen position where the tap occurred. More...

Enumerations

enum  GestureType { Tap , Swipe , Pinch }
 Identifies the kind of gesture carried by a GestureEventArgs. More...
enum  PinchPhase { Began , Updated , Ended }
 Identifies the lifecycle phase of a two-contact pinch gesture. More...
enum  SwipeDirection { Right , Left , Up , Down }
 Specifies the direction of a swipe gesture. More...

Enumeration Type Documentation

◆ GestureType

Identifies the kind of gesture carried by a GestureEventArgs.

Enumerator
Tap 

A single-finger tap. See GestureEventArgs.Tap for position details.

Swipe 

A single-finger swipe. See GestureEventArgs.Swipe for direction and speed details.

Pinch 

A two-finger pinch or spread. See GestureEventArgs.Pinch for scale delta details.

Definition at line 6 of file GestureType.cs.

◆ PinchPhase

Identifies the lifecycle phase of a two-contact pinch gesture.

Enumerator
Began 

Exactly two contacts became active and established the pinch baseline.

Updated 

The distance or focal point between the active contacts changed.

Ended 

The two-contact pinch ended or was interrupted by another contact.

Definition at line 6 of file PinchPhase.cs.

◆ SwipeDirection

Specifies the direction of a swipe gesture.

Enumerator
Right 

The swipe moved primarily to the right (positive X axis).

Left 

The swipe moved primarily to the left (negative X axis).

Up 

The swipe moved primarily upward (negative Y axis in screen coordinates).

Down 

The swipe moved primarily downward (positive Y axis in screen coordinates).

Definition at line 6 of file SwipeDirection.cs.