56 FQuickTweenLatentAction(
const FLatentActionInfo& latentInfo, T* tweenObj, EQuickTweenLatentSteps& outLatentStep);
69 FName ExecutionFunction;
75 FWeakObjectPtr CallbackTarget;
81 EQuickTweenLatentSteps* StepPtr =
nullptr;
84 TArray<EQuickTweenLatentSteps> Buffer;
94 void HandleStep(EQuickTweenLatentSteps NewStep);
99 const FLatentActionInfo& latentInfo,
101 EQuickTweenLatentSteps& outLatentStep)
102 : ExecutionFunction(latentInfo.ExecutionFunction),
103 OutputLink(latentInfo.Linkage),
104 CallbackTarget(latentInfo.CallbackTarget),
105 bIsFirstUpdate(true),
106 StepPtr(&outLatentStep)
110 HandleStep(EQuickTweenLatentSteps::Default);
112 tweenObj->OnStart.AddLambda([
this](T*)
114 HandleStep(EQuickTweenLatentSteps::OnStart);
117 tweenObj->OnUpdate.AddLambda([
this](T*)
119 HandleStep(EQuickTweenLatentSteps::OnUpdate);
122 tweenObj->OnComplete.AddLambda([
this](T*)
124 HandleStep(EQuickTweenLatentSteps::OnComplete);
127 tweenObj->OnKilled.AddLambda([
this](T*)
129 HandleStep(EQuickTweenLatentSteps::OnKilled);
132 tweenObj->OnLoop.AddLambda([
this](T*)
134 HandleStep(EQuickTweenLatentSteps::OnLoop);