QuickTween 1.4.1
Loading...
Searching...
No Matches
FQuickTweenLatentAction Class Reference

#include <FQuickTweenLatentAction.h>

Inheritance diagram for FQuickTweenLatentAction:

Public Member Functions

template<typename T>
 FQuickTweenLatentAction (const FLatentActionInfo &latentInfo, T *tweenObj, EQuickTweenLatentSteps &outLatentStep)
virtual void UpdateOperation (FLatentResponse &Response) override

Detailed Description

Latent action used to bridge QuickTween events to Blueprint latent nodes.

This class implements FPendingLatentAction so Blueprint nodes can wait on tween lifecycle events (start, update, complete, killed). It buffers events raised from the tween and drives the latent response in UpdateOperation.

Constructor & Destructor Documentation

◆ FQuickTweenLatentAction()

template<typename T>
FQuickTweenLatentAction::FQuickTweenLatentAction ( const FLatentActionInfo & latentInfo,
T * tweenObj,
EQuickTweenLatentSteps & outLatentStep )

Construct a latent action that listens to tweenObj events and reports steps into outLatentStep.

Template Parameters
TType of the tween object (must expose OnStart/OnUpdate/OnComplete/OnKilled delegates).
Parameters
latentInfoStandard latent info provided by Blueprint node plumbing.
tweenObjPointer to the tween object to bind event handlers to.
outLatentStepReference to an enum value that will be updated with the current step.

Member Function Documentation

◆ UpdateOperation()

void FQuickTweenLatentAction::UpdateOperation ( FLatentResponse & Response)
overridevirtual

FPendingLatentAction override called each tick by the latent system.

This method consumes buffered tween steps and signals the latent node to continue execution when appropriate. The implementation must update the external outLatentStep via StepPtr.


The documentation for this class was generated from the following files:
  • Source/QuickTween/Public/Blueprint/Latent/FQuickTweenLatentAction.h
  • Source/QuickTween/Private/Blueprint/Latent/FQuickTweenLatentAction.cpp