Touch Interface Designer 2025.2
Create touch interface with a visual editor and manage all mobile inputs like gestures
Loading...
Searching...
No Matches
GestureRecognizerComp.h File Reference
#include "Listeners/TouchInterfaceListener.h"
#include "Settings/TouchInterfaceSettings.h"
#include "Components/ActorComponent.h"
#include "Layout/Geometry.h"
#include "Input/Events.h"
#include "GestureRecognizerComp.generated.h"
Include dependency graph for GestureRecognizerComp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FSwipeData
struct  FFingerData
struct  FTouch

Enumerations

enum class  ETouchMode : uint8 { SingleTouch , DoubleTouch , MultiTouch }
enum class  EMultiTouchBehavior : uint8 { DoNothing , KeepExistingIndex , KeepFirstAndUpdateLast , UpdateBoth }
enum class  ESwipeDirection : uint8 {
  Custom , Up , Right , Down ,
  Left , RightUp , RightDown , LeftUp ,
  LeftDown
}
enum class  ESlideDirection : uint8 { Horizontal , Vertical }

Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnSimpleGestureSignature, int32, FingerIndex, FVector2D, Location)
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FOnComplexGesture, float, Delta, float, CurrentOffset, FVector2D, Direction)
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnSwipeGestureSignature, int32, FingerIndex, FSwipeData, SwipeData)
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnMultiTouchSignature, FTouch, Touch, FVector2D, AveragePosition)
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FOnMultiTapSignature, int32, FingerIndex, int32, TapAmount, FVector2D, Location)
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FOnDragSignature, FTouch, Touch)
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams (FOnSlideSignature, int32, FingerIndex, ESlideDirection, Direction, FVector2D, Location, float, Delta)

Variables

 ClassGroup =(TouchInterfaceDesigner)
 meta

Enumeration Type Documentation

◆ EMultiTouchBehavior

enum class EMultiTouchBehavior : uint8
strong

Select behavior used for two-finger gestures

Enumerator
DoNothing 

Two-finger gestures stopped

KeepExistingIndex 

Keep two first active finger

KeepFirstAndUpdateLast 

Keep first active finger and update second finger with last active finger

UpdateBoth 

Use last two active finger

◆ ESlideDirection

enum class ESlideDirection : uint8
strong
Enumerator
Horizontal 
Vertical 

◆ ESwipeDirection

enum class ESwipeDirection : uint8
strong
Enumerator
Custom 
Up 
Right 
Down 
Left 
RightUp 
RightDown 
LeftUp 
LeftDown 

◆ ETouchMode

enum class ETouchMode : uint8
strong
Enumerator
SingleTouch 

Gesture with one finger or on each finger (only if two-finger gestures are deactivated) Tap, MultiTap, Long Press, Slide, Drag, Swipe

DoubleTouch 

At least two finger touches the screen Zoom, Rotate, Two Finger Swipe, Two Finger Tap

MultiTouch 

At least three finger touches the screen Not available if two-finger gestures are disabled

Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams ( FOnSlideSignature ,
int32 ,
FingerIndex ,
ESlideDirection ,
Direction ,
FVector2D ,
Location ,
float ,
Delta  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam()

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FOnDragSignature ,
FTouch ,
Touch  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [1/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FOnComplexGesture ,
float ,
Delta ,
float ,
CurrentOffset ,
FVector2D ,
Direction  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams() [2/2]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams ( FOnMultiTapSignature ,
int32 ,
FingerIndex ,
int32 ,
TapAmount ,
FVector2D ,
Location  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [1/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnMultiTouchSignature ,
FTouch ,
Touch ,
FVector2D ,
AveragePosition  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [2/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnSimpleGestureSignature ,
int32 ,
FingerIndex ,
FVector2D ,
Location  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams() [3/3]

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams ( FOnSwipeGestureSignature ,
int32 ,
FingerIndex ,
FSwipeData ,
SwipeData  )

Variable Documentation

◆ ClassGroup

ClassGroup =(TouchInterfaceDesigner)

A Component that work with Touch Interface to handle Gestures Tap, MultiTap, Long Press, Drag, Slide, Swipe, Rotate, Zoom, Two Finger Swipe, Two Finger Tap

◆ meta

meta