|
| proto external string | GetName () |
| |
| proto external GraphNodePortBase | GetPort (int id, EGraphNodePortDirection direction) |
| | Access node port by 'id'.
|
| |
| proto external GraphNodePortBase | FindPort (string portName, EGraphNodePortDirection direction) |
| |
| proto external int | GetPortConnectionsCount (int id, EGraphNodePortDirection direction) |
| | Return number of port connections.
|
| |
| proto external int | GetTotalConnectionsCount () |
| | Return total connections count.
|
| |
| proto external vector | GetLocalPosition () |
| | Get local position, can be equal to scene position if there is no parent.
|
| |
| proto external void | SetLocalPosition (vector localPos) |
| | Set local position, can be equal to scene position if there is no parent.
|
| |
| proto external vector | GetPosition () |
| | Get position considering parent position as well.
|
| |
| proto external vector | GetSize () |
| | Get size of the node.
|
| |
| proto external void | SetSelectedColor (notnull Color selectedColor) |
| |
| proto external ref Color | GetSelectedColor () |
| |
| proto external void | SetUnselectedColor (notnull Color selectedColor) |
| |
| proto external ref Color | GetUnselectedColor () |
| |
| TypeName | GetPortType (int portId, EGraphNodePortDirection portDirection, owned string name) |
| | Get which port type to instantiate when creating a connection from this node, returning null will instantiate GraphNodePortCircle port type.
|
| |
| void | Render (notnull GraphWidget graphWidget, notnull GraphNodeView view) |
| |
| proto external ref Managed | Clone () |
| | Return shallow copy of object, or null if it is not allowed (not public constructor)
|
| |
◆ FindPort()
◆ GetLocalPosition()
| proto external vector GraphNode.GetLocalPosition |
( |
| ) |
|
Get local position, can be equal to scene position if there is no parent.
◆ GetName()
| proto external string GraphNode.GetName |
( |
| ) |
|
◆ GetPort()
Access node port by 'id'.
◆ GetPortConnectionsCount()
Return number of port connections.
◆ GetPortsInfo()
◆ GetPortType()
Get which port type to instantiate when creating a connection from this node, returning null will instantiate GraphNodePortCircle port type.
◆ GetPosition()
| proto external vector GraphNode.GetPosition |
( |
| ) |
|
Get position considering parent position as well.
◆ GetSelectedColor()
| proto external ref Color GraphNode.GetSelectedColor |
( |
| ) |
|
◆ GetSize()
| proto external vector GraphNode.GetSize |
( |
| ) |
|
◆ GetTotalConnectionsCount()
| proto external int GraphNode.GetTotalConnectionsCount |
( |
| ) |
|
Return total connections count.
◆ GetUnselectedColor()
| proto external ref Color GraphNode.GetUnselectedColor |
( |
| ) |
|
◆ Render()
◆ SetLocalPosition()
| proto external void GraphNode.SetLocalPosition |
( |
vector | localPos | ) |
|
Set local position, can be equal to scene position if there is no parent.
◆ SetSelectedColor()
| proto external void GraphNode.SetSelectedColor |
( |
notnull Color | selectedColor | ) |
|
◆ SetUnselectedColor()
| proto external void GraphNode.SetUnselectedColor |
( |
notnull Color | selectedColor | ) |
|
The documentation for this interface was generated from the following file:
- GameLib/generated/Graph/GraphNode.c