UBTService_DefaultFocus

Default Focus service node.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Services/BTService_DefaultFocus.h

Include

#include "BehaviorTree/Services/BTService_DefaultFocus.h"

Syntax

class UBTService_DefaultFocus : public UBTService_BlackboardBase

Remarks

Default Focus service node. A service node that automatically sets the AI controller's focus when it becomes active.

Variables

Name Description

Protected variable

uint8

 

FocusPriority

Not exposed to users on purpose. Here to make reusing focus-setting mechanics by derived classes possible

Constructors

Name Description

Protected function

UBTService_DefaultFocus

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

EBlackboardN...

 

OnBlackboardKeyValueChange

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

Overridden from UBTAuxiliaryNode

Name Description

Protected function Virtual

void

 

OnBecomeRelevant

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced!

Protected function Virtual

void

 

OnCeaseRelevant

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced!

Overridden from UBTNode

Name Description

Protected function Virtual Const

uint16

 

GetInstanceMemorySize()

Size of instance memory

Protected function Virtual Const

FName

 

GetNodeIconName()

Get the name of the icon used to display this node in the editor

Protected function Virtual Const

FString

 

GetStaticDescription()

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