Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
Blend Add Keyframe Per Bone 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)
If no blend profile is provided, this task behaves like FAnimNextBlendAddKeyframeWithScaleTask Note that rotations will not be normalized after this task.
| Name | FAnimNextBlendAddKeyframePerBoneWithScaleTask |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/EvaluationVM/Tasks/BlendKeyframesPerBone.h |
| Include Path | #include "EvaluationVM/Tasks/BlendKeyframesPerBone.h" |
Syntax
USTRUCT ()
struct FAnimNextBlendAddKeyframePerBoneWithScaleTask : public FAnimNextBlendAddKeyframeWithScaleTask
Inheritance Hierarchy
- FAnimNextEvaluationTask → FAnimNextBlendAddKeyframeWithScaleTask → FAnimNextBlendAddKeyframePerBoneWithScaleTask
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlendDataA | const FBlendSampleData * | The blend data associated with the keyframe A Cannot use a UPROPERTY with a pointer to a struct | EvaluationVM/Tasks/BlendKeyframesPerBone.h | |
| BlendDataB | const FBlendSampleData * | The blend data associated with the keyframe B Cannot use a UPROPERTY with a pointer to a struct | EvaluationVM/Tasks/BlendKeyframesPerBone.h | |
| BlendProfile | const IBlendProfileInterface * | The blend profile to use An optional blend profile provides a blend weight per bone | EvaluationVM/Tasks/BlendKeyframesPerBone.h |
Functions
Public
Overridden from FAnimNextEvaluationTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute
(
UE::AnimNext::FEvaluationVM& VM |
Task entry point. | EvaluationVM/Tasks/BlendKeyframesPerBone.h | |
virtual const UScriptStruct * GetStruct() |
Returns the derived type for the task. | EvaluationVM/Tasks/BlendKeyframesPerBone.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAnimNextBlendAddKeyframePerBoneWithScaleTask Make
(
const IBlendProfileInterface* BlendProfile, |
EvaluationVM/Tasks/BlendKeyframesPerBone.h |