Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/AnimNodes
Inheritance Hierarchy
- FAnimNode_Base
- FAnimNode_CallFunction
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_CallFunction.h |
| Include | #include "AnimNodes/AnimNode_CallFunction.h" |
Syntax
struct FAnimNode_CallFunction : public FAnimNode_Base
Remarks
Calls specified user-defined events/functions during anim graph execution
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAnimFunctionCallSite | CallSite | When to call the function during the execution of the animation graph. | |
| FGraphTraversalCounter | Counter | Counter used to determine relevancy. | |
| float | CurrentWeight | Weight to determine blend-related call sites. | |
| FAnimNodeFunctionRef | Function | Function to call. | |
| FPoseLink | Source |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CallFunctionFromCallSite
(
EAnimFunctionCallSite InCallSite, |
Calls the function we hold if the callsite matches the one we have set. | |
| const FAnimNodeFunctionRef & | GetFunction () |
Get the function held on this node. |
Overridden from FAnimNode_Base
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluate_AnyThread
(
FPoseContext& Output |
Called to evaluate local-space bones transforms according to the weights set up in Update(). | |
| void | GatherDebugData
(
FNodeDebugData& DebugData |
Called to gather on-screen debug data. This is called on the game thread. | |
| void | Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
Called when the node first runs. | |
| bool | For nodes that need some kind of initialization that is not dependent on node relevancy (i.e. it is insufficient or inefficient to use Initialize_AnyThread), return true here. | ||
| void | OnInitializeAnimInstance
(
const FAnimInstanceProxy* InProxy, |
Called once, from game thread as the parent anim instance is created | |
| void | Update_AnyThread
(
const FAnimationUpdateContext& Context |
Called to update the state of the graph relative to this node. |