Class NodeDescriptor
NodeDescriptor stores the node information attached to SystemGraph assets.
Namespace: Mechatronics.SystemGraph
Syntax
public class NodeDescriptor
Fields
dimension
The dimension of this node descriptor
Declaration
public Vector3 dimension
Field Value
| Type | Description |
|---|---|
| Vector3 |
MapPort
The map of ports of this node descriptor
Declaration
public Dictionary<string, PortDescriptor> MapPort
Field Value
| Type | Description |
|---|---|
| Dictionary<String, PortDescriptor> |
serializedNode
The serialized node
Declaration
public SerializedNode serializedNode
Field Value
| Type | Description |
|---|---|
| SerializedNode |
Methods
GetPosition()
Gets the node position.
Declaration
public Rect GetPosition()
Returns
| Type | Description |
|---|---|
| Rect | Rect position. |
SetPosition(Rect)
Sets the node position.
Declaration
public void SetPosition(Rect rc)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rc | The node rect. |