class_visualscriptvariableset.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. | *Default* | "" |
  32. +-----------+---------------------+
  33. | *Setter* | set_variable(value) |
  34. +-----------+---------------------+
  35. | *Getter* | get_variable() |
  36. +-----------+---------------------+
  37. The variable's name.