Highroad Engine v1.3
|
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 |
An event usually triggered when a swipe happens. It contains the swipe "base" direction, and detailed information if needed (angle, length, origin and destination
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.
direction | Direction. |
angle | Angle. |
length | Length. |
origin | Origin. |
destination | Destination. |
|
static |
|
static |
float MoreMountains.Tools.MMSwipeEvent.SwipeAngle |
Vector2 MoreMountains.Tools.MMSwipeEvent.SwipeDestination |
MMPossibleSwipeDirections MoreMountains.Tools.MMSwipeEvent.SwipeDirection |
float MoreMountains.Tools.MMSwipeEvent.SwipeDuration |
float MoreMountains.Tools.MMSwipeEvent.SwipeLength |
Vector2 MoreMountains.Tools.MMSwipeEvent.SwipeOrigin |