Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I want use DRAWOBJECT(...) draw my object in front everything like handles, so i set DRAWPASS::HANDLES, but nothing show in my view(DRAWPASS::OBJECT is ok but not front other), this is my code,what shoud i do?
bd->DrawObject(bh,myobject,DRAWOBJECT::USE_CUSTOM_COLOR,DRAWPASS::HANDLES,nullptr,Vector(0,0,1));
Hope your help!
hello,
just a quick question,from where are you drawing, an object, a Scenehook ..
Cheers Manuel
maybe I misunderstood the meaning of drawpass? how could i draw my object in front everything like handles?
@m_magalhaes i am not use scenehook before,i will see how to use it,thank you for your help
You can have a look at 2D viewport drawing using a SceneHook , Drawing a spline in the viewport also can help.
Don't hesitate to ask, we'll be happy to help.
@m_magalhaes thank you : ) : ) : )