VisualScriptLocalVarSet.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptLocalVarSet" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Changes a local variable's value.
  5. </brief_description>
  6. <description>
  7. Changes a local variable's value to the given input. The new value is also provided on an output Data port.
  8. [b]Input Ports:[/b]
  9. - Sequence
  10. - Data (variant): [code]set[/code]
  11. [b]Output Ports:[/b]
  12. - Sequence
  13. - Data (variant): [code]get[/code]
  14. </description>
  15. <tutorials>
  16. </tutorials>
  17. <demos>
  18. </demos>
  19. <methods>
  20. <method name="get_var_name" qualifiers="const">
  21. <return type="String">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="get_var_type" qualifiers="const">
  27. <return type="int" enum="Variant.Type">
  28. </return>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="set_var_name">
  33. <return type="void">
  34. </return>
  35. <argument index="0" name="name" type="String">
  36. </argument>
  37. <description>
  38. </description>
  39. </method>
  40. <method name="set_var_type">
  41. <return type="void">
  42. </return>
  43. <argument index="0" name="type" type="int" enum="Variant.Type">
  44. </argument>
  45. <description>
  46. </description>
  47. </method>
  48. </methods>
  49. <members>
  50. <member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type">
  51. The local variable's type.
  52. </member>
  53. <member name="var_name" type="String" setter="set_var_name" getter="get_var_name">
  54. The local variable's name.
  55. </member>
  56. </members>
  57. <constants>
  58. </constants>
  59. </class>