Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/AnimGraphRuntime/Public/CommonAnimationLibrary.h |
Include |
#include "CommonAnimationLibrary.h" |
Source |
/Engine/Source/Runtime/AnimGraphRuntime/Private/CommonAnimationLibrary.cpp |
namespace CommonAnimationLibrary
{
float CommonAnimationLibrary::ScalarEasing
(
float Value,
const FRuntimeFloatCurve & CustomCurve,
EEasingFuncType EasingType,
bool bFlip,
float Weight
)
}
This function perform easing on a float value using a variety of easing types.
Parameter |
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) |