werwack
10-05-2009, 09:58 AM
Hello,
I want to extend an existing material class and make my own GUI for it. I then create my plugin as follow:
plugin material MyMaterial
name:"MyMaterial"
classID:#(0x69fedc0d, 0x7c79a4d2)
extends:Standard replaceUI:true
Nevertheless, according to the settings entered by the user, I want to display one of the rollouts that was in the standard material (could be Blind Basic Parameters for example). But I don't want it all the time.
Does someone know how I can get all the rollouts of my base class? Or the rollouts of any standard material?
I tried with replaceUI:false but it this case all the base rollouts are visible, and all the time.
Thanks a lot,
Werwack
I want to extend an existing material class and make my own GUI for it. I then create my plugin as follow:
plugin material MyMaterial
name:"MyMaterial"
classID:#(0x69fedc0d, 0x7c79a4d2)
extends:Standard replaceUI:true
Nevertheless, according to the settings entered by the user, I want to display one of the rollouts that was in the standard material (could be Blind Basic Parameters for example). But I don't want it all the time.
Does someone know how I can get all the rollouts of my base class? Or the rollouts of any standard material?
I tried with replaceUI:false but it this case all the base rollouts are visible, and all the time.
Thanks a lot,
Werwack
