Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- UBlackboardData
References
Module | AIModule |
Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BlackboardData.h |
Include | #include "BehaviorTree/BlackboardData.h" |
Syntax
class UBlackboardData : public UDataAsset
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FBlackboard::FKey | FirstKeyID | |
![]() |
TArray< FBlackboardEntry > | Keys | Blackboard keys |
![]() |
TObjectPtr< UBlackboardData > | Parent | Parent blackboard (keys can be overridden) |
![]() |
TArray< FBlackboardEntry > | ParentKeys | All keys inherited from parent chain |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UBlackboardData
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FBlackboard::FKey | ||
![]() ![]() |
const FBlackboardEntry * | GetKey
(
FBlackboard::FKey KeyID |
|
![]() ![]() |
FBlackboard::FKey | ||
![]() ![]() |
FName | GetKeyName
(
FBlackboard::FKey KeyID |
|
![]() ![]() |
const TArray< FBlackboardEntry > & | GetKeys () |
|
![]() ![]() |
TSubclassOf< UBlackboardKeyType > | GetKeyType
(
FBlackboard::FKey KeyID |
|
![]() ![]() |
int32 | GetNumKeys () |
|
![]() ![]() |
bool | ||
![]() ![]() |
FBlackboard::FKey | InternalGetKeyID
(
const FName& KeyName, |
|
![]() ![]() |
bool | IsChildOf
(
const UBlackboardData& OtherAsset |
Returns true if OtherAsset is somewhere up the parent chain of this asset. |
![]() ![]() |
bool | IsKeyInstanceSynced
(
FBlackboard::FKey KeyID |
|
![]() ![]() |
bool | IsRelatedTo
(
const UBlackboardData& OtherAsset |
Returns true if OtherAsset is equal to *this, or is it's parent, or *this is OtherAsset's parent |
![]() ![]() |
bool | IsValid () |
|
![]() ![]() |
bool | IsValidKey
(
FBlackboard::FKey KeyID |
|
![]() |
void | ||
![]() |
void | Fix entries with deprecated key types | |
![]() |
void | ||
![]() |
void | UpdateKeyIDs () |
Forces update of FirstKeyID, which depends on parent chain |
![]() |
void | Updates parent key cache for editor | |
![]() |
T * | UpdatePersistentKey
(
const FName& KeyName |
Updates persistent key with given name, depending on currently defined entries and parent chain |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EKeyLookupMode |
Typedefs
Name | Description |
---|---|
FBlackboardDataChanged | A delegate called on PostEditChangeProperty. Can be used in editor to react to asset changes. |
FKeyUpdate |
Constants
Name | Description |
---|---|
OnBlackboardDataChanged | |
OnUpdateKeys | Delegate called for every loaded blackboard asset meant for adding game specific persistent keys |