Handles (specifically lines) without the IMGUIContainer?

Good morning!

I wanted to know if there was a way to use Handles.DrawLine (or something similar) without using an IMGUIContainer.

Thanks!

1 Like

This is something really important in my opinion! :))

We don’t yet have Handles support native to UIElements. However, you can draw arbitrary meshes using the ImmediateModeElement and its DoRepaint() override. This is using raw GL calls. It’s how GraphView implements its node edges, for example.