Navigation
API > API/Plugins > API/Plugins/TweeningUtilsEditor
Description
Interface for applying "simple" blend function to range of keys. Template specializations extract the required parameters and passes them to the underlying blend function.
This pattern is only possible with "simple" blend functions, i.e. those that only have the generic parameters described in KeyBlendingFunctions.h. For these simple functions, all you need to do is specialize TweenRange and your function should then show up automatically, provided tools are using ForEachCurveTweenable to go discover tween simple functions.
Some blend functions may require more arguments. For example, time offsetting / shifting would require caching underlying FCurveModel to be able to evaluate arbitrary function values between the keys, etc.
| Name | UE::TweeningUtilsEditor::TweenRange |
| Type | function |
| Header File | /Engine/Plugins/Animation/TweeningUtils/Source/TweeningUtilsEditor/Public/Math/Abstraction/TweenRangeTemplates.h |
| Include Path | #include "Math/Abstraction/TweenRangeTemplates.h" |
namespace UE
{
namespace TweeningUtilsEditor
{
template<EBlendFunction>
double UE::TweeningUtilsEditor::TweenRange
(
double InBlendValue,
const FBlendRangesData & AllBlendedKeys,
const FContiguousKeys & CurrentBlendRange,
int32 InCurrentKeyIndex
)
}
}
Specializations
UE::TweeningUtilsEditor::TweenRange< EBlendFunction::BlendEase >
UE::TweeningUtilsEditor::TweenRange< EBlendFunction::BlendNeighbor >
UE::TweeningUtilsEditor::TweenRange< EBlendFunction::BlendRelative >
UE::TweeningUtilsEditor::TweenRange< EBlendFunction::ControlsToTween >
UE::TweeningUtilsEditor::TweenRange< EBlendFunction::PushPull >
UE::TweeningUtilsEditor::TweenRange< EBlendFunction::SmoothRough >