From 0284727e7bc6337ebcd98e61eacf0d095d74a094 Mon Sep 17 00:00:00 2001 From: George Marques Date: Wed, 15 Nov 2017 13:57:24 -0200 Subject: Create API to add and remove VisualScript custom nodes This makes a VisualScriptEditor singleton, which gives plugins the ability to register their own custom nodes. Those will be available for insertion in the Visual Script editor, under the "Custom Nodes" category. --- .../doc_classes/VisualScriptEditor.xml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modules/visual_script/doc_classes/VisualScriptEditor.xml (limited to 'modules/visual_script/doc_classes') diff --git a/modules/visual_script/doc_classes/VisualScriptEditor.xml b/modules/visual_script/doc_classes/VisualScriptEditor.xml new file mode 100644 index 0000000000..70d52b2bd7 --- /dev/null +++ b/modules/visual_script/doc_classes/VisualScriptEditor.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the [code]category[/code] as the parameter. + + + + + + + + + + + Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed. + + + + + + + Emitted when a custom Visual Script node is added or removed. + + + + + + -- cgit v1.2.3