Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/UBehaviorTreeComponent
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h |
| Include | #include "BehaviorTree/BehaviorTreeComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/BehaviorTreeComponent.cpp |
void RestartTree
&40;
EBTRestartMode RestartMode
&41;
Remarks
Restarts execution from root
Parameters
| Name | Description |
|---|---|
| RestartMode | to force the reevaluation of the root node, which could skip active nodes that are removed and then readded (default) or a complete restart from scratch of the tree (equivalent of StopTree then StartTree) |