Table of Contents

Class GestureEvent

Namespace
Stride.Input
Assembly
Stride.Input.dll

Base class for the gesture events.

public abstract class GestureEvent
Inheritance
GestureEvent
Derived

Properties

DeltaTime

The time elapsed between the two last events of the gesture.

public TimeSpan DeltaTime { get; }

Property Value

TimeSpan

Remarks

This value is equal to TotalTime for discrete gestures.

NumberOfFinger

The number of fingers involved in the gesture.

public int NumberOfFinger { get; }

Property Value

int

State

The state of the gesture.

public GestureState State { get; }

Property Value

GestureState

TotalTime

The time elapsed since the beginning of the gesture.

public TimeSpan TotalTime { get; }

Property Value

TimeSpan

Type

The type of the gesture.

public GestureType Type { get; }

Property Value

GestureType