AddInput()
Updated: 4 Dec 2023
Updated: 4 Dec 2023
Creates an input connection between a node and a property.
void AddInput(object node, String property_name);
node | The node to connect an input from. |
property_name | The name of the property to connect an input to. |
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Image 2D");
mathNode = layer.FindNode("Math Modifier");
node.AddInput(mathNode, "Position X");
}