Vixen
dd8b0a81

Editor · guide

Writing an editor plugin

What a plugin can contribute to the editor, how it registers, and how everything it added is taken back out when it unloads.

Edit this page on GitHub

Documents

Next

  • The editor shell — The window the editor is made of, and the command registry every part of it is a view over.
  • The editing pipeline — One path every edit in the editor takes, so undo, multi-object editing and mixed values are answered once rather than per panel.
  • Editor scripts — A .cs file in your project's Editor/ folder is compiled by the running editor and loaded like a plugin — drop it in, and its menu item is there.
  • Inspectors in markup — Writing a custom inspector as a .vxml file with no code-behind, bound to the editing pipeline by name after the tree is built.
  • Editor modes — What the viewport's input means right now, and how a mode claims keys that already mean something else.