THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/06/2004 at 05:29, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform:
Language(s) : C++ ;
---------
Hi,
now I am trying to add a material to my scene.
BaseMaterial * mat = BaseMaterial::Alloc(type);
My problem is that the sdk does not give an explanation of "type" constants for the Material alloc method. Can anyone tell me what I have to fill in there? When I insert a 0 Cinema crashes afterwards when adding Information such as using setname etc.
thank you