UBTFunctionLibrary

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTFunctionLibrary.h

Include

#include "BehaviorTree/BTFunctionLibrary.h"

Syntax

class UBTFunctionLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static

void

 

ClearBlackboardValue

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Resets indicated value to "not set" value, based on values type

Public function Static

void

 

ClearBlackboardValueAsVector

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

(DEPRECATED) Use ClearBlackboardValue instead

Public function Static

AActor *

 

GetBlackboardValueAsActor

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

bool

 

GetBlackboardValueAsBool

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

UClass *

 

GetBlackboardValueAsClass

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

uint8

 

GetBlackboardValueAsEnum

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

float

 

GetBlackboardValueAsFloat

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

int32

 

GetBlackboardValueAsInt

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

FName

 

GetBlackboardValueAsName

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

UObject *...

 

GetBlackboardValueAsObject

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

FRotator

 

GetBlackboardValueAsRotator

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

FString

 

GetBlackboardValueAsString

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

FVector

 

GetBlackboardValueAsVector

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key
)

Public function Static

UBehaviorTre...

 

GetOwnerComponent

(
    UBTNode* NodeOwner
)

Public function Static

UBlackboardC...

 

GetOwnersBlackboard

(
    UBTNode* NodeOwner
)

Public function Static

void

 

SetBlackboardValueAsBool

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    bool Value
)

Public function Static

void

 

SetBlackboardValueAsClass

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    UClass* Value
)

Public function Static

void

 

SetBlackboardValueAsEnum

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    uint8 Value
)

Public function Static

void

 

SetBlackboardValueAsFloat

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    float Value
)

Public function Static

void

 

SetBlackboardValueAsInt

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    int32 Value
)

Public function Static

void

 

SetBlackboardValueAsName

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    FName Value
)

Public function Static

void

 

SetBlackboardValueAsObject

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    UObject* Value
)

Public function Static

void

 

SetBlackboardValueAsRotator

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    FRotator Value
)

Public function Static

void

 

SetBlackboardValueAsString

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    FString Value
)

Public function Static

void

 

SetBlackboardValueAsVector

(
    UBTNode* NodeOwner,
    const FBlackboardKeySelector& Key,
    FVector Value
)

Public function Static

void

 

StartUsingExternalEvent

(
    UBTNode* NodeOwner,
    AActor* OwningActor
)

Initialize variables marked as "instance memory" and set owning actor for blackboard operations

Public function Static

void

 

StopUsingExternalEvent

(
    UBTNode* NodeOwner
)

Save variables marked as "instance memory" and clear owning actor

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss