class
BehaviorTreeAsset
- Module
- AINavigation
- Header
#include "AINavigation/BehaviorTreeAsset.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
BehaviorTreeAsset() | BehaviorTreeAsset |
Public functions
| Returns | Name | Description |
|---|---|---|
std::vector<FBTNode>& | Nodes | |
const std::vector<FBTNode>& | Nodes | |
std::vector<FBTBlackboardKey>& | Keys | |
const std::vector<FBTBlackboardKey>& | Keys | |
int32_t | RootIndex | |
int32_t | AddNode | |
void | RemoveNode | |
int32_t | ParentOf | |
bool | CanCompositeHoldChildren | |
bool | AttachChild | |
void | DetachChild | |
int32_t | FindKey | |
int32_t | AddKey | |
bool | RenameKey | |
void | RemoveKey | |
void | SetKeyType | |
std::string | UniqueNodeName | |
std::string | UniqueKeyName | |
std::string | SerializeToString | |
bool | LoadFromString | |
bool | SaveToFile | |
bool | LoadFromFile | |
BehaviorTreeAsset | CreateDefault | |
const char* | KindName | |
bool | KindIsComposite |
Function details
BehaviorTreeAsset
C++
BehaviorTreeAsset()Nodes
C++
std::vector<FBTNode>& Nodes()Nodes
C++
const std::vector<FBTNode>& Nodes() constKeys
C++
std::vector<FBTBlackboardKey>& Keys()Keys
C++
const std::vector<FBTBlackboardKey>& Keys() constRootIndex
C++
int32_t RootIndex() constAddNode
C++
int32_t AddNode(EBTNodeKind kind, const std::string& name, const Vec2& position)RemoveNode
C++
void RemoveNode(int32_t index)ParentOf
C++
int32_t ParentOf(int32_t index) constCanCompositeHoldChildren
C++
bool CanCompositeHoldChildren(int32_t index) constAttachChild
C++
bool AttachChild(int32_t parent, int32_t child, int32_t insertAt = -1)DetachChild
C++
void DetachChild(int32_t parent, int32_t child)FindKey
C++
int32_t FindKey(const std::string& name) constAddKey
C++
int32_t AddKey(const std::string& name, EBBType type)RenameKey
C++
bool RenameKey(int32_t index, const std::string& newName)RemoveKey
C++
void RemoveKey(int32_t index)SetKeyType
C++
void SetKeyType(int32_t index, EBBType type)UniqueNodeName
C++
std::string UniqueNodeName(const std::string& base) constUniqueKeyName
C++
std::string UniqueKeyName(const std::string& base) constSerializeToString
C++
std::string SerializeToString() constLoadFromString
C++
bool LoadFromString(const std::string& text)SaveToFile
C++
bool SaveToFile(const std::string& path) constLoadFromFile
C++
bool LoadFromFile(const std::string& path)CreateDefault
C++
static BehaviorTreeAsset CreateDefault()KindName
C++
static const char* KindName(EBTNodeKind kind)KindIsComposite
C++
static bool KindIsComposite(EBTNodeKind kind)Generated from AINavigation/BehaviorTreeAsset.h via ainavigation.json · Oct 27, 2026Version 1.0.0