|
QuickTween 1.3
|
#include <QuickTweenable.h>
Public Member Functions | |
| virtual void | SetOwner (UQuickTweenable *owner) |
| virtual void | Play () |
| virtual void | Pause () |
| virtual void | Reverse () |
| virtual void | Restart () |
| virtual void | Complete (bool bSnapToEnd=true) |
| virtual void | Kill () |
| virtual void | Update (float deltaTime) |
| virtual void | Evaluate (bool bIsActive, float value, const UQuickTweenable *instigator) |
| virtual bool | GetIsPendingKill () const |
| virtual float | GetLoopDuration () const |
| virtual float | GetTotalDuration () const |
| virtual float | GetElapsedTime () const |
| virtual float | GetTimeScale () const |
| virtual bool | GetIsPlaying () const |
| virtual bool | GetIsCompleted () const |
| virtual bool | GetIsReversed () const |
| virtual EEaseType | GetEaseType () const |
| virtual UCurveFloat * | GetEaseCurve () const |
| virtual int32 | GetLoops () const |
| virtual ELoopType | GetLoopType () const |
| virtual FString | GetTweenTag () const |
| virtual int32 | GetCurrentLoop () const |
| virtual bool | GetAutoKill () const |
| virtual bool | GetShouldPlayWhilePaused () const |
Base UObject for QuickTween tweens.
Provides a common interface for playback control, querying state, and configuring tween behavior. This class is intended to be extended in C++ or Blueprint to implement concrete tween logic (e.g., property interpolation). Marked as BlueprintType so instances and subclasses can be used in Blueprint graphs.
Usage notes:
|
virtual |
Immediately complete the tween. If the tween is reversed bSnapToEnd is inverted.
| bSnapToEnd | If true, snap properties to final state when completing. |
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Evaluate the tween with value.
| bIsActive | if true, this tween is active. |
| value | . |
| instigator |
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Returns whether this tween will be removed automatically after completion.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the current loop index (0-based) the tween is on.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the custom easing curve used by the tween, if any.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the easing function type used by this tween.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the total elapsed time since the tween started (in seconds).
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Check whether the tween has reached its completion state.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Query whether this tween is pending removal from the manager.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Check if the tween is currently playing.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Returns true if the tween's reversed flag is set (affects playback direction).
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the configured duration of the loop in seconds.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the configured number of loops for this tween (-1 for infinite if supported).
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the loop behavior used when the tween repeats (e.g., Restart, Yoyo).
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Whether the tween should continue running even when the game is paused.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the current time scale applied to the tween (1.0 = normal speed).
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the total duration of the whole tween (max value for infinite)
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
nodiscardvirtual |
Get the user-assigned tag for this tween. Useful for identification and grouping.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Forcefully kill the tween and mark it for removal.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Pause playback of the tween.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Start or resume playback of the tween.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Restart the tween from its beginning (in case it is reversed, it will restart at the end). Must be played again after restarting.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Play the tween in reverse (playback direction is inverted).
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Set the owning tween object for this tweenable.
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.
|
virtual |
Update the tween state by a time delta.
| deltaTime | Time in seconds to advance the tween. |
Reimplemented in UQuickTweenBase, and UQuickTweenSequence.