UBehaviorTree

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTree.h

Include

#include "BehaviorTree/BehaviorTree.h"

Syntax

class UBehaviorTree :
    public UObject,
    public IBlackboardAssetProvider

Variables

Name Description

Public variable

TObjectPtr< UBl...

 

BlackboardAsset

Blackboard asset for this tree

Public variable

TObjectPtr< cla...

 

BTGraph

Graph for Behavior Tree

Public variable

uint16

 

InstanceMemorySize

Memory size required for instance of this tree

Public variable

TArray< FEdited...

 

LastEditedDocuments

Info about the graphs we last edited

Public variable

TArray< FBTDeco...

 

RootDecoratorOps

Logic operators for root level decorators, used by subtrees

Public variable

TArray< TObject...

 

RootDecorators

Root level decorators, used by subtrees

Public variable

TObjectPtr< UBT...

 

RootNode

Root node of loaded tree

Constructors

Name Description

Public function

UBehaviorTree

(
    const FObjectInitializer& ObjectIn...
)

Overridden from IBlackboardAssetProvider