THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/07/2010 at 11:08, xxxxxxxx wrote:
Cinema 4D Version: R11
Platform: Windows ;
Language(s) : C++ ;
the LayerShaderLayer parameter LAYER_S_PARAM_SHADER_LINK is "read-only" which is too bad really. nevertheless i can delete a BaseLink by setting the parameter like this:
layer- >SetParameter(LAYER_S_PARAM_SHADER_LINK, NULL);
this is dirty, filthy, bad style, i know, but can it cause problems?^^
the result is, the BaseLink is deleted and in place of the deleted layer there is now an empty folder.
i could live with this rather than totally discard my little plugin, as there seems to be no way to modify textures and shaders in a layer shader.