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