SOLVED How to use BaseDraw::DrawObject/DrawPolygonObject draw constant color like Display Tag Constant Shading mode

Hello,
I m confuse about how to use BaseDraw::DrawObject/DrawPolygonObject draw constant color like Display Tag Constant Shading mode?
hope for your help!

Hello,

Please, use the tags on the thread, we don't know if you are talking about C++ or Python.
(i guess it's c++ because of the syntax, but that will help the search engine for people coming after us :))

we have this snippet in the c++ documentation. This could help.

The context could be important also (running it on a tag, object scenehook ?)

What does confuse you ?

Cheers
Manuel

Hello,

Please, use the tags on the thread, we don't know if you are talking about C++ or Python.
(i guess it's c++ because of the syntax, but that will help the search engine for people coming after us :))

we have this snippet in the c++ documentation. This could help.

The context could be important also (running it on a tag, object scenehook ?)

What does confuse you ?

Cheers
Manuel

@m_magalhaes Thank you, is all right. and sorry for my negligence, I will pay attention next time. 🙂

@Jmelon said in How to use BaseDraw::DrawObject/DrawPolygonObject draw constant color like Display Tag Constant Shading mode:

and sorry for my negligence, I will pay attention next time

Don't worry at all, it helps us to answer your question faster and searching trough the forum.

Cheers,
Manuel