class

StateTree

Module
AINavigation
Header
#include "AINavigation/StateTree.h"
Namespace
Mowo

Constructors

SignatureNameDescription
explicit StateTree(std::shared_ptr<const StateTreeAsset> asset)StateTree
StateTree(const StateTree&) = deleteStateTree

Public functions

ReturnsNameDescription
StateTree&operator=
boolStart
EStateTreeRunStatusTick
voidStop
voidSendEventQueued for the NEXT tick's OnEvent transitions, then dropped.
EStateTreeRunStatusGetStatus
std::vector<std::string>GetActiveStateNames
std::stringGetActiveLeafName
boolIsStateActive
int32_tGetTransitionCountTransitions applied since Start — a cheap signal for tests and the editor's debug view.
boolConditionsPass

Function details

StateTree

C++
explicit StateTree(std::shared_ptr<const StateTreeAsset> asset)

StateTree

C++
StateTree(const StateTree&) = delete

operator=

C++
StateTree& operator=(const StateTree&) = delete

Start

C++
bool Start(const FStateTreeTickContext& ctx)

Tick

C++
EStateTreeRunStatus Tick(const FStateTreeTickContext& ctx)

Stop

C++
void Stop(const FStateTreeTickContext& ctx)

SendEvent

C++
void SendEvent(const std::string& name)

Queued for the NEXT tick's OnEvent transitions, then dropped.

GetStatus

C++
EStateTreeRunStatus GetStatus() const

GetActiveStateNames

C++
std::vector<std::string> GetActiveStateNames() const

GetActiveLeafName

C++
std::string GetActiveLeafName() const

IsStateActive

C++
bool IsStateActive(const std::string& name) const

GetTransitionCount

C++
int32_t GetTransitionCount() const

Transitions applied since Start — a cheap signal for tests and the editor's debug view.

ConditionsPass

C++
static bool ConditionsPass(const std::vector<FStateTreeCondition>& conditions, const Blackboard* blackboard)
Generated from AINavigation/StateTree.h via ainavigation.json · Oct 27, 2026Version 1.0.0