Navigation
API > API/Runtime > API/Runtime/AIModule
Conditional loop decorator node. A decorator node that loops execution as long as condition is satisfied.
| Name | UBTDecorator_ConditionalLoop |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h |
| Include Path | #include "BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h" |
Syntax
UCLASS (HideCategories=(FlowControl), MinimalAPI)
class UBTDecorator_ConditionalLoop : public UBTDecorator_Blackboard
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTAuxiliaryNode → UBTDecorator → UBTDecorator_BlackboardBase → UBTDecorator_Blackboard → UBTDecorator_ConditionalLoop
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTDecorator_ConditionalLoop
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h |
Functions
Public
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_ConditionalLoop.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_ConditionalLoop.h | |
virtual void OnNodeDeactivation
(
FBehaviorTreeSearchData& SearchData, |
Called when underlying node has finished this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyDeactivation must be set to true for this function to be called Calling INIT_DECORATOR_NODE_NOTIFY_FLAGS in the constructor of the decorator will set this flag automatically | BehaviorTree/Decorators/BTDecorator_ConditionalLoop.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/Decorators/BTDecorator_ConditionalLoop.h | |
virtual uint16 GetInstanceMemorySize() |
Size of instance memory | BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h | |
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h | |
virtual void InitializeMemory
(
UBehaviorTreeComponent& OwnerComp, |
Initialize memory block. | BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h |