5#include "CoreMinimal.h"
6#include "UObject/Object.h"
7#include "GestureBase.generated.h"
45 , bFirstTouchDetected(false)
46 , bLongPressDetected(false)
47 , bDragDetected(false)
50 FMemory::Memzero(
this,
sizeof(*
this));
64 , bFirstTouchDetected(true)
65 , bLongPressDetected(false)
66 , bDragDetected(false)
83 , bFirstTouchDetected(true)
84 , bLongPressDetected(false)
85 , bDragDetected(false)
91 void Update(
const FVector2D Location)
97 void End(
const FVector2D Location)
109 uint8 bFirstTouchDetected:1;
110 uint8 bLongPressDetected:1;
111 uint8 bDragDetected:1;
125 bFirstTouchDetected =
false;
126 bLongPressDetected =
false;
127 bDragDetected =
false;
143 UFUNCTION(
Category=
"Gesture", BlueprintNativeEvent)
146 UFUNCTION(
Category=
"Gesture", BlueprintNativeEvent)
149 UFUNCTION(
Category=
"Gesture", BlueprintNativeEvent)
152 UFUNCTION(
Category=
"Gesture", BlueprintNativeEvent)
EditInlineNew
Definition ComponentDecorator_Animation.h:40
Abstract
Definition ComponentDecorator_Animation.h:40
BlueprintType
Definition ComponentDecorator_Animation.h:40
BlueprintNativeEvent void OnGestureEnded(const TArray< FGestureData > &GestureData)
BlueprintNativeEvent void OnGestureStarted(const TArray< FGestureData > &GestureData)
BlueprintNativeEvent void OnGestureUpdated(const TArray< FGestureData > &GestureData)
Category
Definition GestureBase.h:143
BlueprintNativeEvent void Initialization()
UGestureBase()
Definition GestureBase.cpp:7
Definition GestureBase.h:11
friend class UMultitouchLogic
Definition GestureBase.h:106
FGestureData()
Definition GestureBase.h:34
uint32 PointerIndex
Definition GestureBase.h:14
double TouchStartTime
Definition GestureBase.h:20
float PressDuration
Definition GestureBase.h:19
bool AcceptPointerIndex(const uint32 InPointerIndex) const
Definition GestureBase.h:29
FVector2D BeginPosition
Definition GestureBase.h:24
friend class UGestureBase
Definition GestureBase.h:105
FGestureData(const int32 PointerIndex, const FVector2D Location, const double Time)
Definition GestureBase.h:72
void Update(const FVector2D Location)
Definition GestureBase.h:91
FVector2D OffsetFromBegin
Definition GestureBase.h:27
uint8 bIsActive
Definition GestureBase.h:17
FGestureData(const int32 PointerIndex, const FVector2D Location)
Definition GestureBase.h:53
double AccumulatedTime
Definition GestureBase.h:22
double TouchEndTime
Definition GestureBase.h:21
void End(const FVector2D Location)
Definition GestureBase.h:97
FVector2D CurrentPosition
Definition GestureBase.h:25
FVector2D LastPosition
Definition GestureBase.h:26