Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UBehaviorTreeComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachChildTask
(
TFunctionRef< void(UBTTaskNode&, const FBehaviorTreeInstance&, int32 InstanceIndex)> Functor |
Will call the given functor on each task node in the current instance stacks. | BehaviorTree/BehaviorTreeComponent.h | |
void ForEachChildTask
(
UBTCompositeNode& StartNode, |
Will call the given functor on each child node from the given start node. | BehaviorTree/BehaviorTreeComponent.h |
ForEachChildTask(TFunctionRef< void(UBTTaskNode &, const FBehaviorTreeInstance &, int32 InstanceIndex)>)
Description
Will call the given functor on each task node in the current instance stacks.
| Name | ForEachChildTask |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h |
| Include Path | #include "BehaviorTree/BehaviorTreeComponent.h" |
void ForEachChildTask
(
TFunctionRef < void &, const FBehaviorTreeInstance &, int32 InstanceIndex)> Functor
)
ForEachChildTask(UBTCompositeNode &, int32, TFunctionRef< void(UBTTaskNode &, const FBehaviorTreeInstance &, int32 InstanceIndex)>)
Description
Will call the given functor on each child node from the given start node. InstanceIndex can be found using FindInstanceContainingNode.
| Name | ForEachChildTask |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h |
| Include Path | #include "BehaviorTree/BehaviorTreeComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/BehaviorTreeComponent.cpp |
void ForEachChildTask
(
UBTCompositeNode & StartNode,
int32 InstanceIndex,
TFunctionRef < void &, const FBehaviorTreeInstance &, int32 InstanceIndex)> Functor
)