class_visualscriptlocalvar.rst 1007 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptLocalVar.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptLocalVar:
  5. VisualScriptLocalVar
  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. Gets a local variable's value.
  12. Member Variables
  13. ----------------
  14. .. _class_VisualScriptLocalVar_type:
  15. - :ref:`Type<enum_variant_type>` **type** - The local variable's type.
  16. .. _class_VisualScriptLocalVar_var_name:
  17. - :ref:`String<class_string>` **var_name** - The local variable's name.
  18. Description
  19. -----------
  20. Returns a local variable's value. "Var Name" must be supplied, with an optional type.
  21. **Input Ports:**
  22. none
  23. **Output Ports:**
  24. - Data (variant): ``get``