Highroad Engine v1.3
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MoreMountains.Tools.MMSwipeEvent Struct Reference

An event usually triggered when a swipe happens. It contains the swipe "base" direction, and detailed information if needed (angle, length, origin and destination More...

Public Member Functions

 MMSwipeEvent (MMPossibleSwipeDirections direction, float angle, float length, Vector2 origin, Vector2 destination, float swipeDuration)
 Initializes a new instance of the MoreMountains.Tools.MMSwipeEvent struct. More...
 

Static Public Member Functions

static void Trigger (MMPossibleSwipeDirections direction, float angle, float length, Vector2 origin, Vector2 destination, float swipeDuration)
 

Public Attributes

MMPossibleSwipeDirections SwipeDirection
 
float SwipeAngle
 
float SwipeLength
 
Vector2 SwipeOrigin
 
Vector2 SwipeDestination
 
float SwipeDuration
 

Static Public Attributes

static MMSwipeEvent e
 

Detailed Description

An event usually triggered when a swipe happens. It contains the swipe "base" direction, and detailed information if needed (angle, length, origin and destination

Constructor & Destructor Documentation

◆ MMSwipeEvent()

MoreMountains.Tools.MMSwipeEvent.MMSwipeEvent ( MMPossibleSwipeDirections  direction,
float  angle,
float  length,
Vector2  origin,
Vector2  destination,
float  swipeDuration 
)

Initializes a new instance of the MoreMountains.Tools.MMSwipeEvent struct.

Parameters
directionDirection.
angleAngle.
lengthLength.
originOrigin.
destinationDestination.

Member Function Documentation

◆ Trigger()

static void MoreMountains.Tools.MMSwipeEvent.Trigger ( MMPossibleSwipeDirections  direction,
float  angle,
float  length,
Vector2  origin,
Vector2  destination,
float  swipeDuration 
)
static

Member Data Documentation

◆ e

MMSwipeEvent MoreMountains.Tools.MMSwipeEvent.e
static

◆ SwipeAngle

float MoreMountains.Tools.MMSwipeEvent.SwipeAngle

◆ SwipeDestination

Vector2 MoreMountains.Tools.MMSwipeEvent.SwipeDestination

◆ SwipeDirection

MMPossibleSwipeDirections MoreMountains.Tools.MMSwipeEvent.SwipeDirection

◆ SwipeDuration

float MoreMountains.Tools.MMSwipeEvent.SwipeDuration

◆ SwipeLength

float MoreMountains.Tools.MMSwipeEvent.SwipeLength

◆ SwipeOrigin

Vector2 MoreMountains.Tools.MMSwipeEvent.SwipeOrigin

The documentation for this struct was generated from the following file: