Navigation
API > API/Runtime > API/Runtime/AIModule
Default Focus service node. A service node that automatically sets the AI controller's focus when it becomes active.
| Name | UBTService_DefaultFocus |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Services/BTService_DefaultFocus.h |
| Include Path | #include "BehaviorTree/Services/BTService_DefaultFocus.h" |
Syntax
UCLASS (HideCategories=(Service), MinimalAPI)
class UBTService_DefaultFocus : public UBTService_BlackboardBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTAuxiliaryNode → UBTService → UBTService_BlackboardBase → UBTService_DefaultFocus
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTService_DefaultFocus
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Services/BTService_DefaultFocus.h |
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EBlackboardNotificationResult OnBlackboardKeyValueChange
(
const UBlackboardComponent& Blackboard, |
BehaviorTree/Services/BTService_DefaultFocus.h |
Overridden from UBTAuxiliaryNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBecomeRelevant
(
UBehaviorTreeComponent& OwnerComp, |
Called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced! | BehaviorTree/Services/BTService_DefaultFocus.h | |
virtual void OnCeaseRelevant
(
UBehaviorTreeComponent& OwnerComp, |
Called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced! | BehaviorTree/Services/BTService_DefaultFocus.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CleanupMemory
(
UBehaviorTreeComponent& OwnerComp, |
Cleanup memory block. CleanupNodeMemory template function is provided to help cleanup the memory. | BehaviorTree/Services/BTService_DefaultFocus.h | |
virtual uint16 GetInstanceMemorySize() |
Size of instance memory | BehaviorTree/Services/BTService_DefaultFocus.h | |
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Services/BTService_DefaultFocus.h | |
virtual FString GetStaticDescription() |
BehaviorTree/Services/BTService_DefaultFocus.h | ||
virtual void InitializeMemory
(
UBehaviorTreeComponent& OwnerComp, |
Initialize memory block. | BehaviorTree/Services/BTService_DefaultFocus.h |