mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
26 lines
865 B
XML
26 lines
865 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptLocalVarSet" inherits="VisualScriptNode" version="4.0">
|
|
<brief_description>
|
|
Changes a local variable's value.
|
|
</brief_description>
|
|
<description>
|
|
Changes a local variable's value to the given input. The new value is also provided on an output Data port.
|
|
[b]Input Ports:[/b]
|
|
- Sequence
|
|
- Data (variant): [code]set[/code]
|
|
[b]Output Ports:[/b]
|
|
- Sequence
|
|
- Data (variant): [code]get[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
|
|
The local variable's type.
|
|
</member>
|
|
<member name="var_name" type="StringName" setter="set_var_name" getter="get_var_name" default="&"new_local"">
|
|
The local variable's name.
|
|
</member>
|
|
</members>
|
|
</class>
|