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

#include <QuickEmptyTween.h>

Inheritance diagram for UQuickEmptyTween:
UQuickTweenBase UQuickTweenable

Static Public Member Functions

static UQuickEmptyTweenCreateTween (UObject *worldContextObject, float duration=1.0f, const FString &tweenTag=FString(), bool bShouldAutoKill=true, bool bShouldPlayWhilePaused=false, bool bShouldAutoPlay=false)

Protected Member Functions

virtual void ApplyAlphaValue (float alpha) override
Protected Member Functions inherited from UQuickTweenBase
virtual void HandleOnStart ()
virtual void HandleOnComplete ()
virtual void HandleOnKill ()

Additional Inherited Members

Public Member Functions inherited from UQuickTweenBase
void SetUp (const UObject *worldContextObject, float duration, float timeScale, EEaseType easeType, UCurveFloat *easeCurve, int32 loops, ELoopType loopType, const FString &tweenTag=FString(), bool bShouldAutoKill=true, bool bShouldPlayWhilePaused=false, bool bShouldAutoPlay=false)
virtual void SetOwner (UQuickTweenable *owner) override
virtual void Play () override
virtual void Pause () override
virtual void Reverse () override
virtual void Restart () override
virtual void Complete (bool bSnapToEnd=true) override
virtual void Kill () override
virtual void Update (float deltaTime) override
virtual void Evaluate (const FQuickTweenEvaluatePayload &payload, const UQuickTweenable *instigator) override
virtual bool GetIsPendingKill () const override
virtual float GetLoopDuration () const override
virtual float GetTotalDuration () const override
virtual float GetElapsedTime () const override
virtual float GetTimeScale () const override
virtual bool GetIsPlaying () const override
virtual bool GetIsCompleted () const override
virtual bool GetIsReversed () const override
virtual EEaseType GetEaseType () const override
virtual UCurveFloat * GetEaseCurve () const override
virtual int32 GetLoops () const override
virtual ELoopType GetLoopType () const override
virtual FString GetTweenTag () const override
virtual int32 GetCurrentLoop () const override
virtual bool GetAutoKill () const override
virtual bool GetShouldPlayWhilePaused () const override
bool GetSnapToEndOnComplete () const
bool InstigatorIsOwner (const UQuickTweenable *instigator) const
bool HasOwner () const
void AssignOnStartEvent (FDynamicDelegateTween callback)
void AssignOnUpdateEvent (FDynamicDelegateTween callback)
void AssignOnCompleteEvent (FDynamicDelegateTween callback)
void AssignOnKilledEvent (FDynamicDelegateTween callback)
void AssignOnLoopEvent (FDynamicDelegateTween callback)
void RemoveAllOnStartEvent (const UObject *object)
void RemoveAllOnUpdateEvent (const UObject *object)
void RemoveAllOnCompleteEvent (const UObject *object)
void RemoveAllOnKilledEvent (const UObject *object)
void RemoveAllOnLoopEvent (const UObject *object)
Public Attributes inherited from UQuickTweenBase
FNativeDelegateTween OnStart
FNativeDelegateTween OnUpdate
FNativeDelegateTween OnComplete
FNativeDelegateTween OnKilled
FNativeDelegateTween OnLoop

Detailed Description

A lightweight "empty" tween used as a timing placeholder.

This tween does not interpolate any property; it only provides timing. Useful for sequencing or delaying actions without animating values.

Member Function Documentation

◆ ApplyAlphaValue()

void UQuickEmptyTween::ApplyAlphaValue ( float alpha)
overrideprotectedvirtual

Apply the interpolated alpha value to the tweened property.

Parameters
alphaInterpolated alpha value (0.0 to 1.0).

Reimplemented from UQuickTweenBase.

◆ CreateTween()

UQuickEmptyTween * UQuickEmptyTween::CreateTween ( UObject * worldContextObject,
float duration = 1.0f,
const FString & tweenTag = FString(),
bool bShouldAutoKill = true,
bool bShouldPlayWhilePaused = false,
bool bShouldAutoPlay = false )
inlinestatic

Create a new UQuickEmptyTween instance and initialize it.

Parameters
worldContextObjectContext object for world access.
durationDuration of the loop in seconds.
tweenTagOptional tag for identifying the tween.
bShouldAutoKillWhether to auto-kill the tween on completion.
bShouldPlayWhilePausedWhether the tween should play while the game is paused.
bShouldAutoPlayWhether to start playing the tween immediately after setup.

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