Navigation
API > API/Plugins > API/Plugins/UAFAnimNode
A simple AnimOp that blends two inputs.
This pops the top two inputs from the evaluation stack, it interpolates them, and pushes back the result onto the evaluation stack. Let B be the input keyframe at the top of the stack and A be the second from the top. Then we have: Result = Interpolate(A, B, Alpha) An Alpha of 0.0 returns A while 1.0 returns B (top)
| Name | FUAFBlendTwoAnimOp |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimNode/Source/UAFAnimNode/Public/UAF/AnimOps/UAFBlendTwoAnimOp.h |
| Include Path | #include "UAF/AnimOps/UAFBlendTwoAnimOp.h" |
Syntax
USTRUCT ()
struct FUAFBlendTwoAnimOp : public FUAFAnimOp
Inheritance Hierarchy
- FUAFAnimOp → FUAFBlendTwoAnimOp
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetBlendOption
(
EAlphaBlendOption InBlendOption |
UAF/AnimOps/UAFBlendTwoAnimOp.h | ||
void SetInterpolationAlpha
(
float InterpolationAlpha |
UAF/AnimOps/UAFBlendTwoAnimOp.h | ||
| UAF/AnimOps/UAFBlendTwoAnimOp.h | |||
UAF_DECLARE_ANIMOP
(
FUAFBlendTwoAnimOp |
UAF/AnimOps/UAFBlendTwoAnimOp.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EvaluateValues
(
FUAFAnimOpValueEvaluator& Evaluator |
FUAFAnimOp impl. | UAF/AnimOps/UAFBlendTwoAnimOp.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetInterpolationAlpha
(
const FPoseValueBundle& InputA, |
Compute the current alpha value for curves or return the interpolation alpha otherwise. | UAF/AnimOps/UAFBlendTwoAnimOp.h |