Table of Contents

Class SwipeEventArgs

Namespace
Fantas.Input
Assembly
Fantas.dll

Event data for Swipe event

public class SwipeEventArgs : EventArgs
Inheritance
SwipeEventArgs

Constructors

SwipeEventArgs(SwipeDirection, Vector2)

Initialize Swipe event args

public SwipeEventArgs(SwipeDirection direction, Vector2 delta)

Parameters

direction SwipeDirection
delta Vector2

Properties

Delta

The direction of swipe

public Vector2 Delta { get; }

Property Value

Vector2

Direction

The direction of swipe

public SwipeDirection Direction { get; }

Property Value

SwipeDirection