ObjectColorproperties
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/02/2003 at 10:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
When trying to initialize an objectplugin with a specific color, it crashes my cinema 4D when trying to change the "usecolor" in Cinema 4D:
ObjectColorProperties* prop;
prop->color = Vector(180/255,89/255,81/255);
prop->usecolor = 1;
op->SetColorProperties(prop);
What´s wrong ?:( -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/02/2003 at 11:20, xxxxxxxx wrote:
* prop; is only Pointer to nothing.
Use that...
ObjectColorProperties prop;
prop.color = Vector(0.7,0.34,0.31);
prop.usecolor = 1;
op->SetColorProperties(&prop);
<SCRIPT language=javascript>postamble();_<_Script_>_ -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/02/2003 at 11:45, xxxxxxxx wrote:
upps blind again. thanks.