VisualScriptEditor.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptEditor" inherits="Object" category="Core" version="3.2">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="add_custom_node">
  13. <return type="void">
  14. </return>
  15. <argument index="0" name="name" type="String">
  16. </argument>
  17. <argument index="1" name="category" type="String">
  18. </argument>
  19. <argument index="2" name="script" type="Script">
  20. </argument>
  21. <description>
  22. Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the [code]category[/code] as the parameter.
  23. </description>
  24. </method>
  25. <method name="remove_custom_node">
  26. <return type="void">
  27. </return>
  28. <argument index="0" name="name" type="String">
  29. </argument>
  30. <argument index="1" name="category" type="String">
  31. </argument>
  32. <description>
  33. Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed.
  34. </description>
  35. </method>
  36. </methods>
  37. <signals>
  38. <signal name="custom_nodes_updated">
  39. <description>
  40. Emitted when a custom Visual Script node is added or removed.
  41. </description>
  42. </signal>
  43. </signals>
  44. <constants>
  45. </constants>
  46. </class>