Search Results for

    Show / Hide Table of Contents

    Class GraphNode

    Visject graph node base

    Inheritance
    GraphNode
    Inherited Members
    GraphNode
    GraphNode
    Assembly: FlaxEngine.dll
    File: Engine/Visject/GraphNode.h
    Syntax
    public class GraphNode<BoxType>
    Type Parameters
    BoxType

    Constructors

    ~GraphNode()

    Destructor

    Declaration
    public ~GraphNode()

    GraphNode()

    Declaration
    public GraphNode()

    Fields

    Boxes

    Node boxes cache. Array index matches the box ID (for fast O(1) lookups).

    Declaration
    public Array<Box> Boxes
    Field Value
    Array<Box>

    GroupID

    Declaration
    public uint16 GroupID
    Field Value
    uint16

    ID

    Unique node ID (within a graph).

    Declaration
    public uint32 ID
    Field Value
    uint32

    Meta

    Additional metadata.

    Declaration
    public VisjectMeta Meta
    Field Value
    VisjectMeta

    Type

    Declaration
    public uint32 Type
    Field Value
    uint32

    TypeID

    Declaration
    public uint16 TypeID
    Field Value
    uint16

    Values

    List of all node values. Array size and value types are constant over time. Only value data can change.

    Declaration
    public Array<Variant, InlinedAllocation<8>> Values
    Field Value
    Array<Variant, InlinedAllocation<8>>

    Methods

    GetBox(int32 id)

    Get box by ID

    Declaration
    public Box* GetBox(int32 id)
    Parameters
    int32 id

    Box ID

    Returns
    Box

    Box

    GetBoxes(Array<Box* , AllocationType>& result)

    Gets all the valid boxes.

    Declaration
    public void GetBoxes(Array<Box* , AllocationType>& result)
    Parameters
    Array<Box , AllocationType> result

    The result container.

    Type Parameters
    typename AllocationType

    GetBoxes(Array<const Box* , AllocationType>& result)

    Gets all the valid boxes.

    Declaration
    public void GetBoxes(Array<const Box* , AllocationType>& result) const
    Parameters
    Array<Box , AllocationType> result

    The result container.

    Type Parameters
    typename AllocationType

    TryGetBox(int32 id)

    Get box by ID, returns null if missing.

    Declaration
    public Box* TryGetBox(int32 id)
    Parameters
    int32 id

    Box ID

    Returns
    Box

    Box

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