Jump to content

[SOLVED] engine.visualizer and Widgets


photo

Recommended Posts

Posted

I'm attempting to render some lines onto a WidgetSpriteViewport using engine.visualizer.renderLine2D().

 

The documentation for the visualizer states that it draws it's 2D lines atop everything else.

However, when rendering using renderLine2D the lines do not appear on top of any widgets drawn to the system GUI.  Is this a bug?
 

Thank you for your time,
Andrew

Posted

Hi Andrew,

 

Its not a bug. Viewing order is the folowing(from top visibility) : system GUI, render.visualizer2D, everithing else according to depth buffer.

Posted

Fair enough, next question: Is it possible to render into a WidgetSpriteViewport, drawn on the System GUI, using, "engine.visualizer," functions?

 

Thank you for your time,

Andrew

×
×
  • Create New...