Plugin for adding custom property editors on inspector.
This plugins allows adding custom property editors to EditorInspector.
Plugins are registered via EditorPlugin.add_inspector_plugin.
When an object is edited, the can_handle function is called and must return
true if the object type is supported.
If supported, the function parse_begin will be called, allowing to place custom controls at the beginning of the class.
Finally parse_end will be called.
On each of these calls, the "add" functions can be called.
parse_end ( ) virtual
void add_custom_control ( Control control )
Adds a custom control, not necessarily a property editor.
Adds a property editor, this must inherit EditorProperty.
Adds an editor that allows modifying multiple properties, this must inherit EditorProperty.
true if this object can be handled by this plugin.
void parse_begin ( Object object ) virtual
Called to allow adding controls at the beginning of the list.
Called to allow adding controls at the beginning of the category.
void parse_end ( ) virtual
Called to allow adding controls at the end of the list.
Called to allow adding property specific editors to the inspector. Usually these inherit EditorProperty. Returning
true removes the built-in editor for this property, otherwise allows to insert a custom editor before the built-in one.