I want to draw a 3d mesh in asset on my custom EditorWindow, how can I do it? Thanks.
You could render a camera into a texture then draw that very same texture inside your custom EditorWindow. But that implies to have an object with the mesh instantiated in the current scene.