UE4 的曲线类型只有以下几种,常见的动画需要支持缓入缓出,这个在已有的曲线类型中不知该如何扩展?如果我想曲线走自定义函数该如何实现?
UENUM(BlueprintType)
enum ERichCurveInterpMode
{
/** Use linear interpolation between values. /
RCIM_Linear UMETA(DisplayName = “Linear”),
/* Use a constant value. Represents stepped values. /
RCIM_Constant UMETA(DisplayName = “Constant”),
/* Cubic interpolation. See TangentMode for different cubic interpolation options. /
RCIM_Cubic UMETA(DisplayName = “Cubic”),
/* No interpolation. */
RCIM_None UMETA(Hidden)
};