Is it possible to render to editor window?

I’d like to create unity style gizmos that can render rectangles, circles, lines and such. They should also be able to react to changes in properties and such. I’ve figured out drawing lines and with that I can create rectangles and circles, but I still don’t know if / how I’d render that to the editor window.
Is it possible to render to the editor window, and where could I start reading?

It is not easy to customize the editor. You basically need to fork the repository and write the code you need using Clojure (and optionally Java) . We’re planning a plugin/extension system for the editor where you can do such things in Lua.

3 Likes

Got it, then my solution will be to draw gizmos to the built game and then have some debug camera that is super easy to move around. Combining that with hot reloading is probably good enough. Thanks for the quick response!

@britzl is there a draft or a project outline on how this is going to work? Any timeline?

Nothing public yet, only internal design documents.