class_visualscripteditor.rst 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/modules/visual_script/doc_classes/VisualScriptEditor.xml.
  6. .. _class_VisualScriptEditor:
  7. VisualScriptEditor
  8. ==================
  9. **Inherits:** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-reftable-group
  13. Methods
  14. -------
  15. .. table::
  16. :widths: auto
  17. +------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  18. | void | :ref:`add_custom_node<class_VisualScriptEditor_method_add_custom_node>` **(** :ref:`String<class_String>` name, :ref:`String<class_String>` category, :ref:`Script<class_Script>` script **)** |
  19. +------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  20. | void | :ref:`remove_custom_node<class_VisualScriptEditor_method_remove_custom_node>` **(** :ref:`String<class_String>` name, :ref:`String<class_String>` category **)** |
  21. +------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. .. rst-class:: classref-section-separator
  23. ----
  24. .. rst-class:: classref-descriptions-group
  25. Signals
  26. -------
  27. .. _class_VisualScriptEditor_signal_custom_nodes_updated:
  28. .. rst-class:: classref-signal
  29. **custom_nodes_updated** **(** **)**
  30. Emitted when a custom Visual Script node is added or removed.
  31. .. rst-class:: classref-section-separator
  32. ----
  33. .. rst-class:: classref-descriptions-group
  34. Method Descriptions
  35. -------------------
  36. .. _class_VisualScriptEditor_method_add_custom_node:
  37. .. rst-class:: classref-method
  38. void **add_custom_node** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` category, :ref:`Script<class_Script>` script **)**
  39. Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the ``category`` as the parameter.
  40. .. rst-class:: classref-item-separator
  41. ----
  42. .. _class_VisualScriptEditor_method_remove_custom_node:
  43. .. rst-class:: classref-method
  44. void **remove_custom_node** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` category **)**
  45. Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed.
  46. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  47. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  48. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  49. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`