class_visualscriptvariableset.rst 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/modules/visual_script/doc_classes/VisualScriptVariableSet.xml.
  6. .. _class_VisualScriptVariableSet:
  7. VisualScriptVariableSet
  8. =======================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. Changes a variable's value.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Changes a variable's value to the given input.
  15. \ **Input Ports:**\
  16. - Sequence
  17. - Data (variant): ``set``\
  18. \ **Output Ports:**\
  19. - Sequence
  20. .. rst-class:: classref-reftable-group
  21. Properties
  22. ----------
  23. .. table::
  24. :widths: auto
  25. +-----------------------------+------------------------------------------------------------------+--------+
  26. | :ref:`String<class_String>` | :ref:`var_name<class_VisualScriptVariableSet_property_var_name>` | ``""`` |
  27. +-----------------------------+------------------------------------------------------------------+--------+
  28. .. rst-class:: classref-section-separator
  29. ----
  30. .. rst-class:: classref-descriptions-group
  31. Property Descriptions
  32. ---------------------
  33. .. _class_VisualScriptVariableSet_property_var_name:
  34. .. rst-class:: classref-property
  35. :ref:`String<class_String>` **var_name** = ``""``
  36. .. rst-class:: classref-property-setget
  37. - void **set_variable** **(** :ref:`String<class_String>` value **)**
  38. - :ref:`String<class_String>` **get_variable** **(** **)**
  39. The variable's name.
  40. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  41. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  42. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  43. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`