EAnimFunctionCallSite

When to call the function during the execution of the animation graph.

Choose your operating system:

Windows

macOS

Linux

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_CallFunction.h

Include

#include "AnimNodes/AnimNode_CallFunction.h"

Syntax

enum EAnimFunctionCallSite
{
    OnInitialize,
    OnUpdate,
    OnBecomeRelevant,
    OnEvaluate,
    OnInitializePostRecursion,
    OnUpdatePostRecursion,
    OnBecomeRelevantPostRecursion,
    OnEvaluatePostRecursion,
    OnStartedBlendingOut,
    OnStartedBlendingIn,
    OnFinishedBlendingOut,
    OnFinishedBlendingIn,
}

Values

Name

Description

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)

OnInitializePostRecursion

Called when the node is initialized - i.e. it becomes weighted/relevant in the graph (after child nodes are initialized)

OnUpdatePostRecursion

Called when the node is updated (after child nodes are updated)

OnBecomeRelevantPostRecursion

Called when the node is updated for the first time with a valid weight (after child nodes are updated)

OnEvaluatePostRecursion

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.

OnFinishedBlendingOut

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.

Remarks

When to call the function during the execution of the animation graph.