mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
48 lines
1.1 KiB
ReStructuredText
48 lines
1.1 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the VisualScriptLocalVarSet.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_VisualScriptLocalVarSet:
|
|
|
|
VisualScriptLocalVarSet
|
|
=======================
|
|
|
|
**Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
Changes a local variable's value.
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
.. _class_VisualScriptLocalVarSet_type:
|
|
|
|
- :ref:`Type<enum_variant_type>` **type** - The local variable's type.
|
|
|
|
.. _class_VisualScriptLocalVarSet_var_name:
|
|
|
|
- :ref:`String<class_string>` **var_name** - The local variable's name.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
Changes a local variable's value to the given input. The new value is also provided on an output Data port.
|
|
|
|
**Input Ports:**
|
|
|
|
- Sequence
|
|
|
|
- Data (variant): ``set``
|
|
|
|
**Output Ports:**
|
|
|
|
- Sequence
|
|
|
|
- Data (variant): ``get``
|
|
|