class
BehaviorTreeNativeTasks
- Module
- AINavigation
- Header
#include "AINavigation/BehaviorTreeFactory.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using Factory = std::function<BT::NodePtr(const FBTNode&)> |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Register | Engine-lifetime registration — the factory must outlive the process. |
void | RegisterForModule | Registration owned by a loadable module (FModuleManager::GetModuleHandle). |
void | Unregister | |
void | UnregisterAllInModule | |
void | ClearAll | |
bool | IsRegistered | |
BT::NodePtr | Create |
Function details
Register
C++
static void Register(FName id, Factory factory)Engine-lifetime registration — the factory must outlive the process.
RegisterForModule
C++
static void RegisterForModule(void* moduleHandle, FName id, Factory factory)Registration owned by a loadable module (FModuleManager::GetModuleHandle). FHotReload drops these before the module unloads, so a reloaded game module never leaves behind a std::function whose code page is gone.
Unregister
C++
static void Unregister(FName id)UnregisterAllInModule
C++
static void UnregisterAllInModule(void* moduleHandle)ClearAll
C++
static void ClearAll()IsRegistered
C++
static bool IsRegistered(FName id)Create
C++
static BT::NodePtr Create(FName id, const FBTNode& node)Generated from AINavigation/BehaviorTreeFactory.h via ainavigation.json · Oct 27, 2026Version 1.0.0