Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
When to call the function during the execution of the animation graph
| Name | EAnimFunctionCallSite |
| Type | enum |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_CallFunction.h |
| Include Path | #include "AnimNodes/AnimNode_CallFunction.h" |
Syntax
enum EAnimFunctionCallSite
{
OnInitialize,
OnUpdate,
OnBecomeRelevant,
OnEvaluate,
UMETA =(DisplayName = "On Initialize (Post Recursion)"),
UMETA =(DisplayName = "On Update (Post Recursion)"),
UMETA =(DisplayName = "On Become Relevant (Post Recursion)"),
UMETA =(DisplayName = "On Evaluate (Post Recursion)"),
OnStartedBlendingOut,
OnStartedBlendingIn,
UMETA =(Hidden),
OnFinishedBlendingIn,
}
Values
| Name | Remarks |
|---|---|
| OnInitialize | Called when the node is initialized - i.e. it becomes weighted/relevant in the graph (before child nodes are initialized) |
| OnUpdate | Called when the node is updated (before child nodes are updated) |
| OnBecomeRelevant | Called when the node is updated for the first time with a valid weight. |
| OnEvaluate | Called when the node is evaluated (before child nodes are evaluated) |
| UMETA | Called when the node is initialized - i.e. it becomes weighted/relevant in the graph (after child nodes are initialized) |
| UMETA | Called when the node is updated (after child nodes are updated) |
| UMETA | Called when the node is updated for the first time with a valid weight (after child nodes are updated) |
| UMETA | Called when the node is evaluated (after child nodes are evaluated) |
| OnStartedBlendingOut | Called when the node is updated, was at full weight and beings to blend out. |
| OnStartedBlendingIn | Called when the node is updated, was at zero weight and beings to blend in. Called before child nodes are updated. |
| UMETA | Called when the node is updated, was at non-zero weight and finishes blending out. |
| OnFinishedBlendingIn | Called when the node is updated, was at non-zero weight and becomes full weight. |