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
Name
{ get; }Name of the connector
string connectorName = connector.Name;
Type
{ get; }Type of the connector
Connector.ConnectorType connectorType = connector.Type;
Mode
{ get; }Mode of the connector
Connector.ConnectorMode connectorMode = connector.Mode;
Copyright © 2022 · All Rights Reserved · Wysilab