Navigation
API > API/Runtime > API/Runtime/AIModule
| Name | UBlackboardData |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BlackboardData.h |
| Include Path | #include "BehaviorTree/BlackboardData.h" |
Syntax
UCLASS (BlueprintType, AutoExpandCategories=(Blackboard), MinimalAPI)
class UBlackboardData : public UDataAsset
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataAsset → UBlackboardData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBlackboardData
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/BlackboardData.h |
Enums
Protected
| Name | Remarks |
|---|---|
| EKeyLookupMode |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBlackboardDataChanged | TMulticastDelegate_OneParam< void, UBlackboardData * > | A delegate called on PostEditChangeProperty. Can be used in editor to react to asset changes. | BehaviorTree/BlackboardData.h |
| FKeyUpdate | TMulticastDelegate_OneParam< void, UBlackboardData * > | BehaviorTree/BlackboardData.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnBlackboardDataChanged | FBlackboardDataChanged | BehaviorTree/BlackboardData.h | |
| OnUpdateKeys | FKeyUpdate | Delegate called for every loaded blackboard asset meant for adding game specific persistent keys | BehaviorTree/BlackboardData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Keys | TArray< FBlackboardEntry > | Blackboard keys | BehaviorTree/BlackboardData.h |
|
| Parent | TObjectPtr< UBlackboardData > | Parent blackboard (keys can be overridden) | BehaviorTree/BlackboardData.h |
|
| ParentKeys | TArray< FBlackboardEntry > | All keys inherited from parent chain | BehaviorTree/BlackboardData.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasSynchronizedKeys | uint32 | BehaviorTree/BlackboardData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBlackboard::FKey GetFirstKeyID() |
BehaviorTree/BlackboardData.h | ||
const FBlackboardEntry * GetKey
(
FBlackboard::FKey KeyID |
BehaviorTree/BlackboardData.h | ||
FBlackboard::FKey GetKeyID
(
const FName& KeyName |
BehaviorTree/BlackboardData.h | ||
FName GetKeyName
(
FBlackboard::FKey KeyID |
BehaviorTree/BlackboardData.h | ||
const TArray< FBlackboardEntry > & GetKeys() |
BehaviorTree/BlackboardData.h | ||
TSubclassOf< UBlackboardKeyType > GetKeyType
(
FBlackboard::FKey KeyID |
BehaviorTree/BlackboardData.h | ||
int32 GetNumKeys() |
BehaviorTree/BlackboardData.h | ||
bool HasSynchronizedKeys() |
BehaviorTree/BlackboardData.h | ||
bool IsChildOf
(
const UBlackboardData& OtherAsset |
Returns true if OtherAsset is somewhere up the parent chain of this asset. | BehaviorTree/BlackboardData.h | |
bool IsKeyInstanceSynced
(
FBlackboard::FKey KeyID |
BehaviorTree/BlackboardData.h | ||
bool IsRelatedTo
(
const UBlackboardData& OtherAsset |
Returns true if OtherAsset is equal to *this, or is it's parent, or *this is OtherAsset's parent | BehaviorTree/BlackboardData.h | |
bool IsValid() |
BehaviorTree/BlackboardData.h | ||
bool IsValidKey
(
FBlackboard::FKey KeyID |
BehaviorTree/BlackboardData.h | ||
void PropagateKeyChangesToDerivedBlackboardAssets() |
BehaviorTree/BlackboardData.h | ||
void UpdateDeprecatedKeys() |
Fix entries with deprecated key types | BehaviorTree/BlackboardData.h | |
void UpdateIfHasSynchronizedKeys() |
BehaviorTree/BlackboardData.h | ||
void UpdateKeyIDs() |
Forces update of FirstKeyID, which depends on parent chain | BehaviorTree/BlackboardData.h | |
void UpdateParentKeys() |
Updates parent key cache for editor | BehaviorTree/BlackboardData.h | |
T * UpdatePersistentKey
(
const FName& KeyName |
Updates persistent key with given name, depending on currently defined entries and parent chain | BehaviorTree/BlackboardData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
BehaviorTree/BlackboardData.h | ||
virtual void PostInitProperties() |
BehaviorTree/BlackboardData.h | ||
virtual void PostLoad() |
BehaviorTree/BlackboardData.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBlackboard::FKey InternalGetKeyID
(
const FName& KeyName, |
BehaviorTree/BlackboardData.h |