Search Results for

    Show / Hide Table of Contents

    Struct BehaviorUpdateContext

    Behavior update context state.

    Assembly: FlaxEngine.dll
    File: Engine/AI/BehaviorTypes.h
    Syntax
    public struct BehaviorUpdateContext

    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
    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

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat