VisualScriptConstructor.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptConstructor" inherits="VisualScriptNode" category="Core" 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. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_constructor" qualifiers="const">
  15. <return type="Dictionary">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_constructor_type" qualifiers="const">
  21. <return type="int" enum="Variant.Type">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="set_constructor">
  27. <return type="void">
  28. </return>
  29. <argument index="0" name="constructor" type="Dictionary">
  30. </argument>
  31. <description>
  32. </description>
  33. </method>
  34. <method name="set_constructor_type">
  35. <return type="void">
  36. </return>
  37. <argument index="0" name="type" type="int" enum="Variant.Type">
  38. </argument>
  39. <description>
  40. </description>
  41. </method>
  42. </methods>
  43. <constants>
  44. </constants>
  45. </class>