FAnimNode_ResetRoot::NeedsOnInitializeAnimInstance

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.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FAnimNode_Base::NeedsOnInitializeAnimInstance()

FAnimNode_ResetRoot::NeedsOnInitializeAnimInstance()

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/BoneControllers/AnimNode_ResetRoot.h

Include

#include "BoneControllers/AnimNode_ResetRoot.h"

Syntax

virtual bool NeedsOnInitializeAnimInstance() const

Remarks

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.

that this is called at load on the UAnimInstance CDO to avoid needing to call this at runtime.