Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Animation > API/Runtime/SlateCore/Animation/FCurveSequence
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Animation/CurveSequence.h |
| Include | #include "Animation/CurveSequence.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Animation/CurveSequence.cpp |
FCurveHandle AddCurve
(
const float InStartTimeSeconds,
const float InDurationSeconds,
const ECurveEaseFunction InEaseFunction
)
Remarks
Add a new curve at a given time and offset. A FCurveHandle that can be used to get the value of this curve after the animation starts playing.
Parameters
| Name | Description |
|---|---|
| InStartTimeSeconds | When to start this curve. |
| InDurationSeconds | How long this curve lasts. |
| InEaseFunction | Easing function to use for this curve. Defaults to Linear. Use this to smooth out your animation transitions. |