Navigation
API > API/Runtime > API/Runtime/AIModule
Blackboard decorator node. A decorator node that bases its condition on a Blackboard key.
| Name | UBTDecorator_Blackboard |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_Blackboard.h |
| Include Path | #include "BehaviorTree/Decorators/BTDecorator_Blackboard.h" |
Syntax
UCLASS (HideCategories=(Condition), MinimalAPI)
class UBTDecorator_Blackboard : public UBTDecorator_BlackboardBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTAuxiliaryNode → UBTDecorator → UBTDecorator_BlackboardBase → UBTDecorator_Blackboard
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTDecorator_Blackboard
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildDescription() |
Describe decorator and cache it | BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Overridden from UBTDecorator_BlackboardBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EBlackboardNotificationResult OnBlackboardKeyValueChange
(
const UBlackboardComponent& Blackboard, |
Notify about change in blackboard keys | BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Overridden from UBTDecorator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CalculateRawConditionValue
(
UBehaviorTreeComponent& OwnerComp, |
Calculates raw, core value of decorator's condition. Should not include calling IsInversed | BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DescribeRuntimeValues
(
const UBehaviorTreeComponent& OwnerComp, |
Gathers description of all runtime parameters | BehaviorTree/Decorators/BTDecorator_Blackboard.h | |
virtual FString GetStaticDescription() |
BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool EvaluateOnBlackboard
(
const UBlackboardComponent& BlackboardComp |
Take blackboard value and evaluate decorator's condition | BehaviorTree/Decorators/BTDecorator_Blackboard.h | |
void RefreshEnumBasedDecorator
(
const FBlackboardEntry& Entry |
Decorator using enum based key requires to synchronize 'StringValue' used for storage with 'IntValue' used for runtime evaluation. | BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitializeFromAsset
(
UBehaviorTree& Asset |
Initialize any asset related data | BehaviorTree/Decorators/BTDecorator_Blackboard.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
BehaviorTree/Decorators/BTDecorator_Blackboard.h |