Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Animation/CurveSequence.h |
Include |
#include "Animation/CurveSequence.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Animation/CurveSequence.cpp |
FCurveHandle AddCurveRelative
(
const float InOffset,
const float InDurationSecond,
const ECurveEaseFunction InEaseFunction
)
Add a new curve relative to the current end of the sequence. Makes stacking easier. e.g. doing AddCurveRelative(0,5); AddCurveRelative(0,3); Is equivalent to AddCurve(0,5); AddCurve(5,3)
Parameter |
Description |
---|---|
InOffset |
Offset from the last curve in the sequence. |
InDurationSecond |
How long this curve lasts. |
InEaseFunction |
Easing function to use for this curve. Defaults to Linear. Use this to smooth out your animation transitions. |