Hello again
It's not a problem to build group menu for first input:
auto whatGroup_PARM = PRM_Template(PRM_STRING, 1, &whatGroupParm_NAME, 0, &SOP_Mantragora::pointGroupMenu);
but how to build it for second input?
There is buildInputGroups() method but I don't know how to use it.
Could we get some example, please?
Thanks!
[HDK] - Build group menu for second input
2062 2 0- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- graham
- Member
- 1908 posts
- Joined: Nov. 2006
- Offline
If you look in SOP_Node.h you'll see there are some PRM_SpareData choices available that are designed specifically to indicate which input the group menus are based on.
PRM_Template(PRM_STRING, 1, &names, &defaults, &SOP_Node::pointGroupMenu, 0, 0, &SOP_Node::theSecondInput)
PRM_Template(PRM_STRING, 1, &names, &defaults, &SOP_Node::pointGroupMenu, 0, 0, &SOP_Node::theSecondInput)
Graham Thompson, Technical Artist @ Rockstar Games
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
-
- Quick Links