Navigation
API > API/Runtime > API/Runtime/AIModule
| Name | UBehaviorTreeManager |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeManager.h |
| Include Path | #include "BehaviorTree/BehaviorTreeManager.h" |
Syntax
UCLASS (Config=Engine, Transient, MinimalAPI)
class UBehaviorTreeManager : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBehaviorTreeManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBehaviorTreeManager
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/BehaviorTreeManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaxDebuggerSteps | int32 | Limit for recording execution steps for debugger | BehaviorTree/BehaviorTreeManager.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddActiveComponent
(
UBehaviorTreeComponent& Component |
Register new behavior tree component for tracking | BehaviorTree/BehaviorTreeManager.h | |
void DumpUsageStats() |
BehaviorTree/BehaviorTreeManager.h | ||
TConstArrayView< TObjectPtr< UBehaviorTreeComponent > > GetActiveComponents() |
BehaviorTree/BehaviorTreeManager.h | ||
bool LoadTree
(
UBehaviorTree& Asset, |
Get behavior tree template for given blueprint | BehaviorTree/BehaviorTreeManager.h | |
void RemoveActiveComponent
(
UBehaviorTreeComponent& Component |
Unregister behavior tree component from tracking | BehaviorTree/BehaviorTreeManager.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FinishDestroy() |
Cleanup hooks for map loading | BehaviorTree/BehaviorTreeManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint16 GetAlignedDataSize
(
uint16 Size |
Get aligned memory size | BehaviorTree/BehaviorTreeManager.h | |
static UBehaviorTreeManager * GetCurrent
(
UWorld* World |
BehaviorTree/BehaviorTreeManager.h | ||
static UBehaviorTreeManager * GetCurrent
(
UObject* WorldContextObject |
BehaviorTree/BehaviorTreeManager.h | ||
static void InitializeMemoryHelper
(
const TArray< UBTDecorator* >& Nodes, |
Helper function for sorting and aligning node memory | BehaviorTree/BehaviorTreeManager.h |