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