node.Inputs help

hello fellas,

is there a way to get the inputs of a node by name not by number? like the scanlineRender node inputs would be: cam, scn/obj, bg, since i am having trouble connecting nodes by the numbers. from my testing it didnt work like
node.setInput("cam", node). so i guess the onlay way would be to say something like (fantasy syntax):

ScanlineRender.input (1) = "cam"
ScanlineRender.input (2) = "scn/obj"

is there a way to get to get the inputs like that? i find the inputs are hard to controll, since there are many hidden inputs and those numbers are not comfortable to work with.

for any help or hint i would be thankful,

greetings, jaden

No Responses to “node.Inputs help”

Post a Comment