Class Link¶
-
class Link
¶ This class represents a link between two nodes.
InstantTerra instantTerra = new InstantTerra(); Node myNode = instantTerra.GetProject().GetGraph().GetAllNodes()[0]; // Get the first node Link link = instantTerra.GetProject().GetGraph().GetNodeLinks(my_node)[0]; // Get the first link of the node "myNode"
-
enum LinkType
¶ This enum represents the type of a node connector.
-
Terrain
¶
-
Mask
¶
-
Value
¶
-
ColorRamp
¶
-
ColorMap
¶
-
VectorMap
¶
-
Other
¶
-
-
Connector.ConnectorMode
GetStartConnectorMode
()¶ Connector mode at the start of the link.
Node.ConnectorMode startConnectorMode = myLink.GetStartConnectorMode();
-
Connector.ConnectorType
GetStartConnectorType
()¶ Connector type at the start of the link.
Node.ConnectorType startConnectorType = myLink.GetStartConnectorType();
-
Node.ConnectorMode
GetEndConnectorMode
()¶ Connector mode at the end of the link.
Node.ConnectorMode endConnectorMode = myLink.GetEndConnectorMode();
-
Node.ConnectorType
GetEndConnectorType
()¶ Connector type at the end of the link.
Node.ConnectorType endConnectorType = myLink.GetEndConnectorType();