![]() |
【转帖】lost with odgimaterialcolor
lost with odgimaterialcolor
lost with odgimaterialcolor hi, any guidelines using odgimaterialcolor? i create a odcmentitycolor to wich i set color values (setrgb). now, i want to set odgimaterialcolor with that odcmentitycolor (as i read in the help files it needs it), but i don't know how.. thanks in advance, israel odgimaterialcolor::color() method is overloaded: code: odcmentitycolor& odgimaterialcolor::color(); const odcmentitycolor& odgimaterialcolor::color() const;, so you can use it to setup your odcmentitycolor to odgimaterialcolor: code: odcmentitycolor ecolor; ecolor.setcolor(0xffffffff); odgimaterialcolor mcolor; mcolor.setmethod(odgimaterialcolor::koverride); thanks a lot! sometimes you think it is going to be 'the hard' way and the simple solution is the right one. |
所有的时间均为北京时间。 现在的时间是 11:41 PM. |