VisualScriptEditor.xml 1.2 KB

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