struct
StateTreeComponent
Runs a StateTreeAsset over a per-instance Blackboard, ticked by StateTreeSystem (UE5 UStateTreeComponent analog). The authored fields round-trip through reflection; the compiled tree and blackboard are runtime-only.
- Module
- AINavigation
- Header
#include "AINavigation/StateTreeComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
std::string | treePath | |
float | tickInterval | Default 0.0f. |
bool | restartOnFinish | A tree that finishes (Succeeded/Failed, or a completion nobody handled) starts over from the root when this is on. Default true. |
bool | started | Default false. |
float | tickAccum | Default 0.0f. |
EStateTreeRunStatus | lastStatus | Default EStateTreeRunStatus::NotStarted. |
std::shared_ptr<StateTreeAsset> | asset | |
std::shared_ptr<StateTree> | tree | |
std::shared_ptr<Blackboard> | blackboard |
Constructors
| Signature | Name | Description |
|---|---|---|
StateTreeComponent() = default | StateTreeComponent |
Function details
StateTreeComponent
C++
StateTreeComponent() = defaultGenerated from AINavigation/StateTreeComponent.h via ainavigation.json · Oct 27, 2026Version 1.0.0