Function EditorPlugin.clear

Clear all the state and reset the object being edited to zero. This ensures your plugin does not keep editing a currently existing node, or a node from the wrong scene.

void clear() nothrow @nogc;