Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/CommonAnimationLibrary.h |
| Include | #include "CommonAnimationLibrary.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/CommonAnimationLibrary.cpp |
namespace CommonAnimationLibrary
{
float CommonAnimationLibrary&58;&58;ScalarEasing
&40;
float Value,
const FRuntimeFloatCurve & CustomCurve,
EEasingFuncType EasingType,
bool bFlip,
float Weight
&41;
}
Remarks
This function perform easing on a float value using a variety of easing types.
Parameters
| Name | Description |
|---|---|
| Value | The float value to ease |
| EasingType | The easing function to use |
| CustomCurve | The curve to use if the easing type is "Custom" |
| bFlip | If set to true the easing is flipping around |
| Weight | The amount of easing to use against linear (0.0 to 1.0) |