I'd like to extend the Godot editor and have been reading over the section on plugins. I would like to write a plugin where if an object that extends my custom class is selected, then I can then capture mouse clicks and keypresses in the scene window to edit the properties of the object. I read through the EditorNode3DGizmoPlugin, but it seems to limit you to a set of handles that you need to specify in advance - so as far as I can tell there is no way to click on the object and have your gizmo use that to add a new point to it. The only other option seems to be creating a main screen plugin, but then I would somehow have to figure out how to render the entire editor window in a Component.
Is there some middle ground? I just want to be able to figure out when the user clicks on my object in the editor and add some geometry to it there.