Search Results for

    Show / Hide Table of Contents

    Class AnimationGraph.CustomNode.Context

    The node evaluation context structure.

    Inheritance
    System.Object
    AnimationGraph.CustomNode.Context
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class Context : ValueType

    Fields

    BaseModel

    The skinned model asset that is a base model for the graph (source of the skeleton).

    Declaration
    public SkinnedModel BaseModel
    Field Value
    SkinnedModel

    BoxId

    The requested box identifier to evaluate its value.

    Declaration
    public int BoxId
    Field Value
    System.Int32

    CurrentFrameIndex

    The index of the current update frame. Can be used to detect if custom node hasn't been updated for more than one frame to reinitialize it in some cases.

    Declaration
    public ulong CurrentFrameIndex
    Field Value
    System.UInt64

    DeltaTime

    The absolute time delta since last anim graph update for the current instance (in seconds). Can be used to animate or blend node logic over time.

    Declaration
    public float DeltaTime
    Field Value
    System.Single

    Graph

    The graph pointer (unmanaged).

    Declaration
    public IntPtr Graph
    Field Value
    System.IntPtr

    GraphExecutor

    The graph executor pointer (unmanaged).

    Declaration
    public IntPtr GraphExecutor
    Field Value
    System.IntPtr

    Instance

    The instance of the animated model that during update.

    Declaration
    public AnimatedModel Instance
    Field Value
    AnimatedModel

    Node

    The node pointer (unmanaged).

    Declaration
    public IntPtr Node
    Field Value
    System.IntPtr

    NodeId

    The graph node identifier (unique per graph).

    Declaration
    public uint NodeId
    Field Value
    System.UInt32

    Extension Methods

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