Class Connector¶
-
class Connector
¶ This class represents an InstantTerra node model.
InstantTerra instantTerra = new InstantTerra(); Node myNode = instantTerra.GetProject().GetGraph().GetAllNodes()[0]; // Get the first node // First input connector Connector connector = myNode.GetConnectors[Connector.ConnectorType.Input][0];
-
enum Connector.ConnectorType
¶ This enum represents the type of a node connector.
-
Terrain
¶
-
Mask
¶
-
ColorRamp
¶
-
ColorMap
¶
-
Value
¶
-
VectorMap
¶
-
Generic
¶
-
ValueOrMask
¶
-
-
enum Connector.ConnectorMode
¶ This enum represents the mode of a node connector.
-
Input
¶
-
Optional
¶
-
Output
¶
-
-
Connector.ConnectorType
Type
{ get; }¶ Type of the connector
Connector.ConnectorType connectorType = connector.Type;
-
Connector.ConnectorMode
Mode
{ get; }¶ Mode of the connector
Connector.ConnectorMode connectorMode = connector.Mode;