THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2003 at 09:33, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
---------
suprisingly just reading out the BaseContainer of an light object (Olight) does not work for me. i use this method to read out containers of almost everything and it does work, but not for the lights. anyone got an idea why?
the code ..
switch (LightObject->GetData().GetLong (LIGHT_TYPE))
{
case (LIGHT_TYPE_OMNI) :
....
case (LIGHT_TYPE_SPOT) :
....
case (LIGHT_TYPE_PARALLEL) :
....
default:
break;
}
it neither works for the light color / brightness nor anything else. all i get are default container values.
thanks in advance