Class GraphBox
Represents single box of the graph node
Inheritance
GraphBox
Assembly: FlaxEngine.dll
File: Engine/Visject/GraphNode.h
Syntax
public class GraphBox
Constructors
GraphBox()
Declaration
public GraphBox()
GraphBox(void* parent, byte id, const VariantType& type)
Init
Declaration
public GraphBox(void* parent, byte id, const VariantType& type)
Parameters
|
void
parent
Parent node |
|
byte
id
Unique box id |
|
VariantType
type
Connections type |
GraphBox(void* parent, byte id, const VariantType::Types type)
Init
Declaration
public GraphBox(void* parent, byte id, const VariantType::Types type)
Parameters
|
void
parent
Parent node |
|
byte
id
Unique box id |
|
VariantType::Types
type
Connections type |
Fields
Connections
List with all connections to other boxes
Declaration
public Array<GraphBox* , InlinedAllocation<4>> Connections
Field Value
|
Array<GraphBox , InlinedAllocation<4>>
|
ID
Unique box ID within single node
Declaration
public byte ID
Field Value
|
byte
|
Parent
The parent node
Declaration
public void* Parent
Field Value
|
void
|
Type
Methods
GetParent()
Gets the parent node.
Declaration
public NodeType* GetParent() const
Returns
|
NodeType
|
Type Parameters
|
class NodeType
|
HasConnection()
Returns true if box has one or more connections.
Declaration
public bool HasConnection() const
Returns
|
bool
|