struct
FAnimGraphInstance
Per-entity runtime state. Lives on the AnimatorComponent so a controller asset shared across entities never shares clocks; keyed by node id so an editor graph edit (add/remove nodes) leaves surviving nodes' state alone.
- Module
- Animation
- Header
#include "Animation/AnimGraph.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::unordered_map<uint64_t, FClipState> | clipStates | |
std::unordered_map<uint64_t, FBlendPosesByValue> | boolBlends | |
std::unordered_map<uint64_t, FMirrorResolved> | mirrorCache | Mirror tables resolved against THIS entity's skeleton. Resolution is per-instance rather than cached on the shared FMirrorTable because animation evaluates on job workers and a controller asset is shared by every entity playing it. |
std::unordered_map<std::string, std::vector<Mat4>> | savedPoses | SavePose slots persist across frames: a UsePose evaluated BEFORE its SavePose this frame reads last frame's pose (UE cached-pose semantics). |
FAnimGraphCompiled | compiled | The graph's wiring and bone names resolved against THIS entity's skeleton (rebuilt when the graph's structure version or the skeleton changes), and the pose buffers the evaluator reuses frame to frame. |
FAnimGraphEvalScratch | scratch | |
std::unordered_map<std::string, FBlendProfileResolved> | blendProfileCache | Blend profiles resolved against THIS entity's skeleton, keyed by profile name rather than by node so two nodes naming one profile resolve it once. Per-instance for the same reason the mirror cache is. |
std::unordered_map<std::string, FPoseAssetResolved> | poseAssetCache | Pose assets resolved against THIS entity's skeleton, keyed by .pose path so a PoseByName and the PoseDriver feeding it resolve the same asset once. Per-instance for the same reason the mirror cache is. |
bool | poseAssetsPrimed | Set once this instance's graph has had its .pose files pulled into the library on the GAME thread. The evaluator can load one itself, but it runs on job workers, and a first-touch VFS read there is a file system hit inside the parallel animation phase. Default false. |
std::unordered_map<std::string, std::shared_ptr<FAnimGraphInstance>> | linkedInstances | One instance per linked layer name: a linked graph keeps its own clip clocks and cached poses. linkedGraph is the graph it last ran, so relinking another graph under the name starts its state fresh. |
const void* | linkedGraph | Default nullptr. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Reset |
Function details
Reset
C++
void Reset()Generated from Animation/AnimGraph.h via animation.json · Oct 26, 2026Version 1.0.0