SetNodeGraphPosition()
Purpose #
Sets the position of a node in the nodegraph.
Syntax #
void SetNodeGraphPosition(int x_pos, int y_pos);
Parameters
x_pos | The X position. |
y_pos | The Y position. |
Example #
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Image 2D");
node.SetNodeGraphPosition(100, 100);
}