Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/EvaluationVM > API/Plugins/AnimNext/EvaluationVM/Tasks
Inheritance Hierarchy
- FAnimNextEvaluationTask
- FAnimNextBlendAddKeyframeWithScaleTask
- FAnimNextBlendAddKeyframePerBoneWithScaleTask
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/EvaluationVM/Tasks/BlendKeyframesPerBone.h |
| Include | #include "EvaluationVM/Tasks/BlendKeyframesPerBone.h" |
Syntax
USTRUCT ()
struct FAnimNextBlendAddKeyframePerBoneWithScaleTask : public FAnimNextBlendAddKeyframeWithScaleTask
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FBlendSampleData * | BlendDataA | The blend data associated with the keyframe A Cannot use a UPROPERTY with a pointer to a struct | |
| const FBlendSampleData * | BlendDataB | The blend data associated with the keyframe B Cannot use a UPROPERTY with a pointer to a struct | |
| TWeakObjectPtr< const UBlendProfile > | BlendProfile | The blend profile to use An optional blend profile provides a blend weight per bone |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FAnimNextBlendAddKeyframePerBoneWithScaleTask | Make
(
TWeakObjectPtr< const UBlendProfile > BlendProfile, |
Overridden from FAnimNextEvaluationTask
| Type | Name | Description | |
|---|---|---|---|
| void | Execute
(
UE::AnimNext::FEvaluationVM& VM |
Task entry point. | |
| const UScriptStruct * | GetStruct () |
Returns the derived type for the task. |