Navigation
API > API/Runtime > API/Runtime/SlateCore
Types of easing functions for Slate animation curves. These are used to smooth out animations.
| Name | ECurveEaseFunction |
| Type | enum |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Animation/CurveHandle.h |
| Include Path | #include "Animation/CurveHandle.h" |
Syntax
enum ECurveEaseFunction
{
Linear,
QuadIn,
QuadOut,
QuadInOut,
CubicIn,
CubicOut,
CubicInOut,
}
Values
| Name | Remarks |
|---|---|
| Linear | Linear interpolation, with no easing |
| QuadIn | Quadratic ease in |
| QuadOut | Quadratic ease out |
| QuadInOut | Quadratic ease in, quadratic ease out |
| CubicIn | Cubic ease in |
| CubicOut | Cubic ease out |
| CubicInOut | Cubic ease in, cubic ease out |