|
QuickTween 1.4.1
|
#include <FQuickTweenLatentAction.h>
Public Member Functions | |
| template<typename T> | |
| FQuickTweenLatentAction (const FLatentActionInfo &latentInfo, T *tweenObj, EQuickTweenLatentSteps &outLatentStep) | |
| virtual void | UpdateOperation (FLatentResponse &Response) override |
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.
| FQuickTweenLatentAction::FQuickTweenLatentAction | ( | const FLatentActionInfo & | latentInfo, |
| T * | tweenObj, | ||
| EQuickTweenLatentSteps & | outLatentStep ) |
Construct a latent action that listens to tweenObj events and reports steps into outLatentStep.
| T | Type of the tween object (must expose OnStart/OnUpdate/OnComplete/OnKilled delegates). |
| latentInfo | Standard latent info provided by Blueprint node plumbing. |
| tweenObj | Pointer to the tween object to bind event handlers to. |
| outLatentStep | Reference to an enum value that will be updated with the current step. |
|
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.