VisualScriptEditor.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptEditor" inherits="Object" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  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. <argument index="0" name="name" type="String" />
  13. <argument index="1" name="category" type="String" />
  14. <argument index="2" name="script" type="Script" />
  15. <description>
  16. Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the [code]category[/code] as the parameter.
  17. </description>
  18. </method>
  19. <method name="remove_custom_node">
  20. <return type="void" />
  21. <argument index="0" name="name" type="String" />
  22. <argument index="1" name="category" type="String" />
  23. <description>
  24. Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed.
  25. </description>
  26. </method>
  27. </methods>
  28. <signals>
  29. <signal name="custom_nodes_updated">
  30. <description>
  31. Emitted when a custom Visual Script node is added or removed.
  32. </description>
  33. </signal>
  34. </signals>
  35. <constants>
  36. </constants>
  37. </class>