Struct BehaviorUpdateContext
Behavior update context state.
Assembly: FlaxEngine.dll
File: Engine/AI/BehaviorTypes.h
Syntax
public struct BehaviorUpdateContext
Fields
Behavior
DeltaTime
Simulation time delta (in seconds) since the last update.
Declaration
public float DeltaTime
Field Value
float
|
Knowledge
Behavior's logic knowledge container (data, goals and sensors).
Declaration
public BehaviorKnowledge* Knowledge
Field Value
BehaviorKnowledge
|
Memory
Current instance memory buffer location (updated while moving down the tree).
Declaration
public void* Memory
Field Value
void
|
RelevantNodes
Pointer to array with per-node bit indicating whether node is relevant (active in graph with state created).
Declaration
public void* RelevantNodes
Field Value
void
|
Time
Simulation time (in seconds) since the first update of the Behavior (sum of all deltas since the start).
Declaration
public float Time
Field Value
float
|