LePetitNick Posted December 18, 2014 Share Posted December 18, 2014 I've been searching for a bit now and can't for the life of me find this... it's not terribly important, but I would like to be able to set my SOP_Node's 2nd and 3rd inputs to be references to indicate to the user that they are indeed reference inputs... Where can I set this? I found the OP_Operator::getInputIsReference, and was hoping to find the setInputIsReference function but sadly it doesn't seem to exist... Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted December 18, 2014 Share Posted December 18, 2014 OP_Node::setInputReference() Quote Link to comment Share on other sites More sharing options...
LePetitNick Posted December 18, 2014 Author Share Posted December 18, 2014 Dang, that is the right answer, it's my question that is all wrong! I was hoping the getInputIsReference referred to the "is reference" flag you can specify on the otls' type definition inputs/outputs tab - allowing you to turn the connected noodle into a dotted line rather than a solid line, like the second input of the ray SOP for example. setInputReference isn't what I was looking for... how do I get to have dotted lines connected to a specific input of my SOP? Quote Link to comment Share on other sites More sharing options...
malexander Posted December 19, 2014 Share Posted December 19, 2014 Override "int OP_Node::isRefInput(int input) const" and return zero if the input index is a normal (solid line) input, and non-zero if it's a reference (dashed line) input. If you're not using the HDK, I'm not sure how you'd specify a reference input. Quote Link to comment Share on other sites More sharing options...
LePetitNick Posted December 19, 2014 Author Share Posted December 19, 2014 Thanks! I totally missed that one... cheers! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.