Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime
Calls specified user-defined events/functions during anim graph execution
| Name | FAnimNode_CallFunction |
| Type | struct |
| Header File | /Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_CallFunction.h |
| Include Path | #include "AnimNodes/AnimNode_CallFunction.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly)
struct FAnimNode_CallFunction : public FAnimNode_Base
Inheritance Hierarchy
- FAnimNode_Base → FAnimNode_CallFunction
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CallSite | EAnimFunctionCallSite | When to call the function during the execution of the animation graph. | AnimNodes/AnimNode_CallFunction.h |
|
| Counter | FGraphTraversalCounter | Counter used to determine relevancy. | AnimNodes/AnimNode_CallFunction.h | |
| CurrentWeight | float | Weight to determine blend-related call sites. | AnimNodes/AnimNode_CallFunction.h | |
| Function | FAnimNodeFunctionRef | Function to call. | AnimNodes/AnimNode_CallFunction.h |
|
| Source | FPoseLink | AnimNodes/AnimNode_CallFunction.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CallFunctionFromCallSite
(
EAnimFunctionCallSite InCallSite, |
Calls the function we hold if the callsite matches the one we have set. | AnimNodes/AnimNode_CallFunction.h | |
const FAnimNodeFunctionRef & GetFunction() |
Get the function held on this node. | AnimNodes/AnimNode_CallFunction.h |
Overridden from FAnimNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CacheBones_AnyThread
(
const FAnimationCacheBonesContext& Context |
AnimNodes/AnimNode_CallFunction.h | ||
virtual void Evaluate_AnyThread
(
FPoseContext& Context |
AnimNodes/AnimNode_CallFunction.h | ||
virtual void GatherDebugData
(
FNodeDebugData& DebugData |
AnimNodes/AnimNode_CallFunction.h | ||
virtual void Initialize_AnyThread
(
const FAnimationInitializeContext& Context |
AnimNodes/AnimNode_CallFunction.h | ||
virtual bool NeedsOnInitializeAnimInstance() |
AnimNodes/AnimNode_CallFunction.h | ||
virtual void OnInitializeAnimInstance
(
const FAnimInstanceProxy* InProxy, |
AnimNodes/AnimNode_CallFunction.h | ||
virtual void Update_AnyThread
(
const FAnimationUpdateContext& Context |
AnimNodes/AnimNode_CallFunction.h |