Navigation
Unreal Engine C++ API Reference > Runtime > AIModule > BehaviorTree
Inheritance Hierarchy
- UObject
- IBlackboardAssetProvider
- UBehaviorTree
References
Module | AIModule |
Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTree.h |
Include | #include "BehaviorTree/BehaviorTree.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UBehaviorTree :
public UObject,
public IBlackboardAssetProvider
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TObjectPtr< UBlackboardData > | BlackboardAsset | Blackboard asset for this tree |
![]() ![]() |
TObjectPtr< class UEdGraph > | BTGraph | Graph for Behavior Tree |
![]() |
uint16 | InstanceMemorySize | Memory size required for instance of this tree |
![]() ![]() |
TArray< FEditedDocumentInfo > | LastEditedDocuments | Info about the graphs we last edited |
![]() ![]() |
TArray< FBTDecoratorLogic > | RootDecoratorOps | Logic operators for root level decorators, used by subtrees |
![]() ![]() |
TArray< TObjectPtr< UBTDecorator > > | RootDecorators | Root level decorators, used by subtrees |
![]() ![]() |
TObjectPtr< UBTCompositeNode > | RootNode | Root node of loaded tree |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UBehaviorTree
(
const FObjectInitializer& ObjectInitializer |
Overridden from IBlackboardAssetProvider
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
UBlackboardData * | BEGIN IBlackboardAssetProvider. |