Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
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 but the blend data contains valid per bone blend weights, it will try to use that data to blend each bone together with the assumption the provided data encompasses the full pose. If neither 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/UAF/UAFAnimGraph/Source/UAFAnimGraph/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 | |
| SourceSkeleton | const USkeleton * | Optional skeleton to perform skeleton remapping with. | EvaluationVM/Tasks/BlendKeyframesPerBone.h |
Functions
Public Virtual
Overridden from FAnimNextEvaluationTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute
(
UE::UAF::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 USkeleton* Skeleton, |
EvaluationVM/Tasks/BlendKeyframesPerBone.h |