Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeTypes.h |
Include |
#include "BehaviorTree/BehaviorTreeTypes.h" |
struct FBehaviorTreeSearchData
Node search data
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bFilterOutRequestFromDeactivatedBranch |
If set, execution request from node in the deactivated branch will be skipped |
|
uint32: 1 |
bPostponeSearch |
If set, current search will be restarted in next tick |
|
uint32: 1 |
bPreserveActiveNodeMemoryOnRollback |
If set, active node state/memory won't be rolled back |
|
uint32: 1 |
bSearchInProgress |
Set when task search is in progress |
|
DeactivatedBranchEnd |
End index of the deactivated branch |
|
|
DeactivatedBranchStart |
Start index of the deactivated branch |
|
|
OwnerComp |
BT component |
|
|
PendingNotifies |
Notifies for tree instances |
|
|
PendingUpdates |
Requested updates of additional nodes (preconditions, services, parallels) buffered during search to prevent instant add & remove pairs |
|
|
RollbackDeactivatedBranchEnd |
Saved end index of the deactivated branch for rollback |
|
|
RollbackDeactivatedBranchStart |
Saved start index of the deactivated branch for rollback |
|
|
RollbackInstanceIdx |
Active instance index to rollback to |
|
|
SearchEnd |
Last node allowed in search |
|
|
SearchId |
Search unique number |
|
|
SearchRootNode |
Node under which the search was performed |
|
|
SearchStart |
First node allowed in search |
Name | Description | |
---|---|---|
|
FBehaviorTreeSearchData() |
|
|
FBehaviorTreeSearchData ( |
Name | Description | ||
---|---|---|---|
|
AddUniqueUpdate ( |
Adds update info to PendingUpdates array, removing all previous updates for this node |
|
|
AssignSearchId() |
Assign unique Id number |
|
|
Reset() |
Clear state of search |
Name |
Description |
---|---|
NextSearchId |