Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Blend Add Keyframe With Scale Task
This pops the top two keyframes (A and B) from the VM keyframe stack (let B be at the top). B is our intermediary result that we add on top of; while A is the keyframe we scale. The result is pushed back onto the stack. Top = Top + (Top-1 * ScaleFactor)
Note that rotations will not be normalized after this task.
| Name | FAnimNextBlendAddKeyframeWithScaleTask |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/EvaluationVM/Tasks/BlendKeyframes.h |
| Include Path | #include "EvaluationVM/Tasks/BlendKeyframes.h" |
Syntax
USTRUCT ()
struct FAnimNextBlendAddKeyframeWithScaleTask : public FAnimNextEvaluationTask
Inheritance Hierarchy
- FAnimNextEvaluationTask → FAnimNextBlendAddKeyframeWithScaleTask
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ScaleFactor | float | The scale factor to apply to the keyframe. | EvaluationVM/Tasks/BlendKeyframes.h |
|
Functions
Public
Overridden from FAnimNextEvaluationTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute
(
UE::UAF::FEvaluationVM& VM |
Task entry point. | EvaluationVM/Tasks/BlendKeyframes.h | |
virtual const UScriptStruct * GetStruct() |
Returns the derived type for the task. | EvaluationVM/Tasks/BlendKeyframes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAnimNextBlendAddKeyframeWithScaleTask Make
(
float ScaleFactor |
EvaluationVM/Tasks/BlendKeyframes.h |