2
0

class_visualscriptvariableget.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 VisualScriptVariableGet.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptVariableGet:
  6. VisualScriptVariableGet
  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. Gets a variable's value.
  13. Properties
  14. ----------
  15. +-----------------------------+------------------------------------------------------------------+
  16. | :ref:`String<class_String>` | :ref:`var_name<class_VisualScriptVariableGet_property_var_name>` |
  17. +-----------------------------+------------------------------------------------------------------+
  18. Description
  19. -----------
  20. Returns a variable's value. "Var Name" must be supplied, with an optional type.
  21. **Input Ports:**
  22. none
  23. **Output Ports:**
  24. - Data (variant): ``value``
  25. Property Descriptions
  26. ---------------------
  27. .. _class_VisualScriptVariableGet_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.