UBTDecorator_Blackboard

Blackboard decorator node. A decorator node that bases its condition on a Blackboard key.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

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

Include

#include "BehaviorTree/Decorators/BTDecorator_Blackboard.h"

Syntax

class UBTDecorator_Blackboard : public UBTDecorator_BlackboardBase

Remarks

Blackboard decorator node. A decorator node that bases its condition on a Blackboard key.

Variables

Name Description

Protected variable

TEnumAsByte< EA...

 

ArithmeticOperation

Protected variable

TEnumAsByte< EB...

 

BasicOperation

Protected variable

FString

 

CachedDescription

Cached description

Protected variable

friend

 

FBlackboardDecoratorDetails

Protected variable

float

 

FloatValue

Value for arithmetic operations

Protected variable

int32

 

IntValue

Value for arithmetic operations

Protected variable

TEnumAsByte< EB...

 

NotifyObserver

When observer can try to request abort?

Protected variable

uint8

 

OperationType

Operation type

Protected variable

FString

 

StringValue

Value for string operations

Protected variable

TEnumAsByte< ET...

 

TextOperation

Constructors

Name Description

Public function

UBTDecorator_Blackboard

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Virtual

void

 

BuildDescription()

Describe decorator and cache it

Protected function Const

bool

 

EvaluateOnBlackboard

(
    const UBlackboardComponent& Blackb...
)

Take blackboard value and evaluate decorator's condition

Overridden from UBTDecorator_BlackboardBase

Name Description

Public function Virtual

EBlackboardN...

 

OnBlackboardKeyValueChange

(
    const UBlackboardComponent& Blackb...,
    FBlackboard::FKey ChangedKeyID
)

Notify about change in blackboard keys

Overridden from UBTDecorator

Name Description

Public function Virtual Const

bool

 

CalculateRawConditionValue

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Calculates raw, core value of decorator's condition. Should not include calling IsInversed

Overridden from UBTNode

Name Description

Public function Virtual Const

void

 

DescribeRuntimeValues

(
    const UBehaviorTreeComponent& Owne...,
    uint8* NodeMemory,
    EBTDescriptionVerbosity::Type Verbo...,
    TArray< FString >& Values
)

Gathers description of all runtime parameters

Public function Virtual Const

FString

 

GetStaticDescription()

Protected function Virtual

void

 

InitializeFromAsset

(
    UBehaviorTree& Asset
)

Initialize any asset related data

Overridden from UObject

Name Description

Protected function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally