VisualScriptVariableGet.xml 995 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptVariableGet" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Gets a variable's value.
  5. </brief_description>
  6. <description>
  7. Returns a variable's value. "Var Name" must be supplied, with an optional type.
  8. [b]Input Ports:[/b]
  9. none
  10. [b]Output Ports:[/b]
  11. - Data (variant): [code]value[/code]
  12. </description>
  13. <tutorials>
  14. </tutorials>
  15. <demos>
  16. </demos>
  17. <methods>
  18. <method name="get_variable" qualifiers="const">
  19. <return type="String">
  20. </return>
  21. <description>
  22. </description>
  23. </method>
  24. <method name="set_variable">
  25. <return type="void">
  26. </return>
  27. <argument index="0" name="name" type="String">
  28. </argument>
  29. <description>
  30. </description>
  31. </method>
  32. </methods>
  33. <members>
  34. <member name="var_name" type="String" setter="set_variable" getter="get_variable">
  35. The variable's name.
  36. </member>
  37. </members>
  38. <constants>
  39. </constants>
  40. </class>