Stefan,

 

You set the input tag names by overriding the ‘input_label’ method.  So, if 
your Iop class was named ‘myIop’, you would have code like this in the 
‘protected’ section of your class definition:

 

const char* myIop::input_label(int n, char*) const

{

     switch (n) {

       case 0: return "input0";

       case 1: return "input1";

       default: return "";

     }

}

 

Clear?

 

Steve

 

 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of legarcon
Sent: Wednesday, February 06, 2013 4:33 AM
To: [email protected]
Subject: [Nuke-dev] Naming Input channels

 

Hello Everybody,

ive seen nodes that have a written description of their inputs directly in the 
node graph like "mask" or something like that. I want to add this to my nodes, 
but cant find something in the documentation. Where i have to add this?

Thanks a lot,

Cheers Stefan

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to