THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/06/2011 at 14:58, xxxxxxxx wrote:
Cinema 4D Version: R12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
does anybody have an idea how to get the active channel shader?
That would be the one that the user is currently editing in the material editor.
Thanks in advance for any tips!
On 15/06/2011 at 07:34, xxxxxxxx wrote:
I don't think this is possible. Considering inline editing for example there can be several active channel shaders. Also even though there is only on Material Editor there can be multiple Atrribute Managers.
On 17/06/2011 at 03:57, xxxxxxxx wrote:
Then I would have expected to get all those shaders that are currently being edited in an AtomArray, just like I get all acive Objects in an AtomArray from GetActiveObjects().
But OK, in the meantime I changed several things in my code, and I don't really need to get the active shader anymore. But it would still be nice to have the possibility