class_visualscriptvariableset.rst 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/modules/visual_script/doc_classes/VisualScriptVariableSet.xml.
  6. .. _class_VisualScriptVariableSet:
  7. VisualScriptVariableSet
  8. =======================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. Changes a variable's value.
  11. Description
  12. -----------
  13. Changes a variable's value to the given input.
  14. \ **Input Ports:**\
  15. - Sequence
  16. - Data (variant): ``set``\
  17. \ **Output Ports:**\
  18. - Sequence
  19. Properties
  20. ----------
  21. +-------------------------------------+------------------------------------------------------------------+---------+
  22. | :ref:`StringName<class_StringName>` | :ref:`var_name<class_VisualScriptVariableSet_property_var_name>` | ``&""`` |
  23. +-------------------------------------+------------------------------------------------------------------+---------+
  24. Property Descriptions
  25. ---------------------
  26. .. _class_VisualScriptVariableSet_property_var_name:
  27. - :ref:`StringName<class_StringName>` **var_name**
  28. +-----------+---------------------+
  29. | *Default* | ``&""`` |
  30. +-----------+---------------------+
  31. | *Setter* | set_variable(value) |
  32. +-----------+---------------------+
  33. | *Getter* | get_variable() |
  34. +-----------+---------------------+
  35. The variable's name.
  36. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  37. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  38. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  39. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  40. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  41. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`