Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Animation/CurveSequence.h |
Include |
#include "Animation/CurveSequence.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Animation/CurveSequence.cpp |
void PlayReverse
(
const TSharedRef< SWidget > & InOwnerWidget,
bool bPlayLooped,
const float StartAtTime,
bool bRequiresActiveTimer
)
Start playing this curve sequence in reverse. Registers an active timer for the widget using the sequence.
that the active timer will persist until this sequence is paused or jumped to the start/end.
Parameter |
Description |
---|---|
InOwnerWidget |
The widget that is being animated by this sequence. |
bPlayLooped |
True if the curve sequence should play continually on a loop. |
StartAtTime |
The relative time within the animation at which to begin playing (i.e. 0.0f is the beginning). |
bRequiresActiveTimer |
Whether or not we need to register an active timer on the widget to keep slate ticking while the animation is playing. If that is not necessary in your use case, you can set it to false for a small performance boost |