FBehaviorTreeSearchData

Node search data

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeTypes.h

Include

#include "BehaviorTree/BehaviorTreeTypes.h"

Syntax

struct FBehaviorTreeSearchData

Remarks

Node search data

Variables

Name Description

Public variable

uint32: 1

 

bFilterOutRequestFromDeactivatedBranch

If set, execution request from node in the deactivated branch will be skipped

Public variable

uint32: 1

 

bPostponeSearch

If set, current search will be restarted in next tick

Public variable

uint32: 1

 

bPreserveActiveNodeMemoryOnRollback

If set, active node state/memory won't be rolled back

Public variable

uint32: 1

 

bSearchInProgress

Set when task search is in progress

Public variable

FBTNodeIndex

 

DeactivatedBranchEnd

End index of the deactivated branch

Public variable

FBTNodeIndex

 

DeactivatedBranchStart

Start index of the deactivated branch

Public variable

UBehaviorTreeCo...

 

OwnerComp

BT component

Public variable

TArray< FBehavi...

 

PendingNotifies

Notifies for tree instances

Public variable

TArray< FBehavi...

 

PendingUpdates

Requested updates of additional nodes (preconditions, services, parallels) buffered during search to prevent instant add & remove pairs

Public variable

FBTNodeIndex

 

RollbackDeactivatedBranchEnd

Saved end index of the deactivated branch for rollback

Public variable

FBTNodeIndex

 

RollbackDeactivatedBranchStart

Saved start index of the deactivated branch for rollback

Public variable

int32

 

RollbackInstanceIdx

Active instance index to rollback to

Public variable

FBTNodeIndex

 

SearchEnd

Last node allowed in search

Public variable

int32

 

SearchId

Search unique number

Public variable

FBTNodeIndex

 

SearchRootNode

Node under which the search was performed

Public variable

FBTNodeIndex

 

SearchStart

First node allowed in search

Constructors

Functions

Name Description

Public function

void

 

AddUniqueUpdate

(
    const FBehaviorTreeSearchUpdate& U...
)

Adds update info to PendingUpdates array, removing all previous updates for this node

Public function

void

 

AssignSearchId()

Assign unique Id number

Public function

void

 

Reset()

Clear state of search

Constants

Name

Description

NextSearchId

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel