VisualScriptConstructor.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptConstructor" inherits="VisualScriptNode" version="3.2">
  3. <brief_description>
  4. A Visual Script node which calls a base type constructor.
  5. </brief_description>
  6. <description>
  7. A Visual Script node which calls a base type constructor. It can be used for type conversion as well.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="get_constructor" qualifiers="const">
  13. <return type="Dictionary">
  14. </return>
  15. <description>
  16. </description>
  17. </method>
  18. <method name="get_constructor_type" qualifiers="const">
  19. <return type="int" enum="Variant.Type">
  20. </return>
  21. <description>
  22. </description>
  23. </method>
  24. <method name="set_constructor">
  25. <return type="void">
  26. </return>
  27. <argument index="0" name="constructor" type="Dictionary">
  28. </argument>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="set_constructor_type">
  33. <return type="void">
  34. </return>
  35. <argument index="0" name="type" type="int" enum="Variant.Type">
  36. </argument>
  37. <description>
  38. </description>
  39. </method>
  40. </methods>
  41. <constants>
  42. </constants>
  43. </class>