Search Results for

    Show / Hide Table of Contents

    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

    Behavior to simulate.

    Declaration
    public Behavior Behavior
    Field Value
    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

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat