Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Apply Additive Keyframe Per Bone Task
This pops the top two keyframes from the VM keyframe stack, it applies an additive keyframe with a weight per bone based on the given blend mask onto its base and pushes back the result onto the stack. If no valid blend mask is provided it will revert back to a full pose additive application.
The top pose should be the additive keyframe and the second to the top the base keyframe.
This task currently only supports skeleton-based blend masks.
| Name | FUAFApplyAdditiveKeyframeWithBlendMaskTask |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/EvaluationVM/Tasks/ApplyAdditiveKeyframePerBone.h |
| Include Path | #include "EvaluationVM/Tasks/ApplyAdditiveKeyframePerBone.h" |
Syntax
USTRUCT ()
struct FUAFApplyAdditiveKeyframeWithBlendMaskTask : public FAnimNextApplyAdditiveKeyframeTask
Inheritance Hierarchy
- FAnimNextEvaluationTask → FAnimNextApplyAdditiveKeyframeTask → FUAFApplyAdditiveKeyframeWithBlendMaskTask
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlendMask | TObjectPtr< const UUAFBlendMask > | EvaluationVM/Tasks/ApplyAdditiveKeyframePerBone.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/ApplyAdditiveKeyframePerBone.h | |
virtual const UScriptStruct * GetStruct() |
Returns the derived type for the task. | EvaluationVM/Tasks/ApplyAdditiveKeyframePerBone.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FUAFApplyAdditiveKeyframeWithBlendMaskTask Make
(
const float InBlendWeight, |
EvaluationVM/Tasks/ApplyAdditiveKeyframePerBone.h |