Navigation
API > API/Runtime > API/Runtime/Engine
Allows anim node's relevancy (when they receive and lose weight in the graph) to be tracked
| Name | FAnimSubsystemInstance_NodeRelevancy |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimSubsystem_NodeRelevancy.h |
| Include Path | #include "Animation/AnimSubsystem_NodeRelevancy.h" |
Syntax
USTRUCT ()
struct FAnimSubsystemInstance_NodeRelevancy : public FAnimSubsystemInstance
Inheritance Hierarchy
- FAnimSubsystemInstance → FAnimSubsystemInstance_NodeRelevancy
Structs
| Name | Remarks |
|---|---|
| FTracker | Tracks the relevancy of a node. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NodeInitTrackers | TMap< const FAnimNode_Base *, EAnimNodeInitializationStatus > | Map of tracked anim nodes initialization. | Animation/AnimSubsystem_NodeRelevancy.h | |
| NodeTrackers | TMap< const FAnimNode_Base *, FTracker > | Map of tracked anim nodes. | Animation/AnimSubsystem_NodeRelevancy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EAnimNodeInitializationStatus GetNodeInitializationStatus
(
const FAnimNode_Base& InNode |
Get the tracked initialization state of the passed-in node. If the node is not tracked the initialization state will be default (NotUpdated) | Animation/AnimSubsystem_NodeRelevancy.h | |
FAnimNodeRelevancyStatus GetNodeRelevancy
(
const FAnimNode_Base& InNode |
Get the tracked relevancy of the passed-in node. If the node is not tracked the relevancy will be default (zero weighted). | Animation/AnimSubsystem_NodeRelevancy.h | |
EAnimNodeInitializationStatus UpdateNodeInitializationStatus
(
const FAnimationUpdateContext& InContext, |
Update the initialization state of the passed-in node using the supplied context. | Animation/AnimSubsystem_NodeRelevancy.h | |
FAnimNodeRelevancyStatus UpdateNodeRelevancy
(
const FAnimationUpdateContext& InContext, |
Update the relevancy of the passed-in node using the supplied context. | Animation/AnimSubsystem_NodeRelevancy.h |
Overridden from FAnimSubsystemInstance
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize_WorkerThread() |
Override point used to initialize per-instance data. Called on a worker thread. | Animation/AnimSubsystem_NodeRelevancy.h |