connector.
Connector
This class represents an InstantTerra node connector.
>>> from wysilab import InstantTerra
>>> it = InstantTerra()
>>> my_node = it.project.graph.get_all_nodes()[0] # Get the first node
>>> # Get the first Input connector
>>> connector = my_node.get_connectors()[ConnectorMode.Input][0]
connector.
ConnectorType
This enum represents the type of a node connector.
Terrain
Mask
ColorRamp
ColorMap
Value
VectorMap
Generic
ValueOrMask
connector.
ConnectorMode
This enum represents the mode of a node connector.
Input
Optional
Output
Connector.
name
str
ValueError – Impossible to override this attribute.
Name of the connector.
>>> print(connector.name)
input_terrain
Copyright © 2022 · All Rights Reserved · Wysilab