Class BehaviorUpdateContext
Behavior update context state.
Inheritance
System.Object
BehaviorUpdateContext
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class BehaviorUpdateContext : ValueType
Fields
Behavior
DeltaTime
Simulation time delta (in seconds) since the last update.
Declaration
public float DeltaTime
Field Value
System.Single
|
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 IntPtr Memory
Field Value
System.IntPtr
|
RelevantNodes
Pointer to array with per-node bit indicating whether node is relevant (active in graph with state created).
Declaration
public IntPtr RelevantNodes
Field Value
System.IntPtr
|
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
System.Single
|