Enfusion Script API
Loading...
Searching...
No Matches
GraphNodePortRect Interface Reference
Inheritance diagram for GraphNodePortRect:
GraphNodePortBase Managed

Additional Inherited Members

- Public Member Functions inherited from GraphNodePortBase
proto external owned string GetName ()
 
proto external void SetLabel (string label)
 Set label of the port, used as display name mainly.
 
proto external owned string GetLabel ()
 
proto external int GetPortID ()
 
proto external EGraphNodePortDirection GetPortDirection ()
 
proto external GraphNode GetNode ()
 
proto external bool SetHighlighted (bool highlighted)
 
proto external bool IsHighlighted ()
 
proto external bool SetConnectable (bool connectable)
 
proto external bool IsConnectable ()
 
proto external bool IsConnectedTo (notnull GraphNodePortBase pPort)
 Returns true if this port is connected to the other port.
 
proto external bool HasConnection (notnull GraphNodeConnectionBase pConnection)
 
proto external void SetMaxConnections (int count)
 Limit for maximum connection count. Value of -1 means "no limit" (default)
 
proto external int GetMaxConnections ()
 
proto external bool CheckMaxConnectionsLimit ()
 Checks max connection limit. Returns true if we can still add new connection.
 
proto external bool CanConnectToPort (notnull GraphNodePortBase otherPort)
 Additional, custom, per-port logic. Returns true if this port is okay to be connected with the other port.
 
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 SetHighlightColor (notnull Color color)
 
proto external ref Color GetHighlightColor ()
 
proto external void SetInputDisconnectedColor (notnull Color color)
 
proto external ref Color GetInputDisconnectedColor ()
 
proto external void SetOutputDisconnectedColor (notnull Color color)
 
proto external ref Color GetOutputDisconnectedColor ()
 
proto external void SetInputConnectedColor (notnull Color color)
 
proto external ref Color GetInputConnectedColor ()
 
proto external void SetOutputConnectedColor (notnull Color color)
 
proto external ref Color GetOutputConnectedColor ()
 
TypeName GetConnectionType ()
 Get which connection type to instantiate when creating a connection from this port, returning null will instantiate curve connection type.
 
bool OverrideCanConnectToPort (notnull GraphNodePortBase otherPort)
 Additional, custom, per-port logic. Returns true if this port is okay to be connected with the other port.
 
void Render (notnull GraphWidget graphWidget, notnull GraphNodeView view)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

The documentation for this interface was generated from the following file: