Node::GetConnectedNode
Defined in:  
Returns the connected node with a particular key.
C4Node.hPrototype
Node *GetConnectedNode(const char *key) const;
Parameters
key | 
The key value of the connector. | 
Description
The GetConnectedNode function searches for a connector having a key matching the key parameter and, if such a connector is found, returns the node to which it connects. If there is no connector with the matching key, or the connector exists but is not connected to another node, then the return value is nullptr. If the key parameter points to an empty string, then the GetConnectedNode function always returns nullptr.
See Also
