class_visualscriptvariableset.rst 1.4 KB

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