2
0

class_visualscriptvariableset.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptVariableSet.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptVariableSet:
  6. VisualScriptVariableSet
  7. =======================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Changes a variable's value.
  13. Properties
  14. ----------
  15. +-----------------------------+------------------------------------------------------------------+
  16. | :ref:`String<class_String>` | :ref:`var_name<class_VisualScriptVariableSet_property_var_name>` |
  17. +-----------------------------+------------------------------------------------------------------+
  18. Description
  19. -----------
  20. Changes a variable's value to the given input.
  21. **Input Ports:**
  22. - Sequence
  23. - Data (variant): ``set``
  24. **Output Ports:**
  25. - Sequence
  26. Property Descriptions
  27. ---------------------
  28. .. _class_VisualScriptVariableSet_property_var_name:
  29. - :ref:`String<class_String>` **var_name**
  30. +----------+---------------------+
  31. | *Setter* | set_variable(value) |
  32. +----------+---------------------+
  33. | *Getter* | get_variable() |
  34. +----------+---------------------+
  35. The variable's name.