On 11/11/2013 at 12:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ; PYTHON ;
---------
C++ is, compared to Python, sometimes a bit mysterious.
I have found out, thanks to this forum, how to set the blendmode in a layer shader.
But getting the blend mode is something I do not yet understand.
That is because I do not fully understand GeData?
How to get the blending mode out of this GeData, or how to interpreted GeData?
Set: res = layer->SetParameter(LAYER_S_PARAM_SHADER_MODE, BlendMultiply);
Get: res = layer->GetParameter(LAYER_S_PARAM_SHADER_MODE, blendMode);
Another "simple" question:
Is there no SearchMaterial (or SearchObject) as in Python?