astone Posted August 10, 2015 Share Posted August 10, 2015 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 Link to comment
maxi Posted August 11, 2015 Share Posted August 11, 2015 Hi Andrew, Its not a bug. Viewing order is the folowing(from top visibility) : system GUI, render.visualizer2D, everithing else according to depth buffer. Link to comment
astone Posted August 11, 2015 Author Share Posted August 11, 2015 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 Link to comment
maxi Posted August 12, 2015 Share Posted August 12, 2015 I suppose no, you can use WidgetCanvas instead. Link to comment
astone Posted August 12, 2015 Author Share Posted August 12, 2015 Thank you for your reply. Andrew Link to comment
Recommended Posts