2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 02:03:48 +01:00
|
|
|
<class name="VisualScriptLocalVarSet" inherits="VisualScriptNode" version="4.0">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
2017-10-15 05:11:00 +02:00
|
|
|
Changes a local variable's value.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-15 20:48:13 +02:00
|
|
|
Changes a local variable's value to the given input. The new value is also provided on an output Data port.
|
2017-10-15 05:11:00 +02:00
|
|
|
[b]Input Ports:[/b]
|
|
|
|
- Sequence
|
|
|
|
- Data (variant): [code]set[/code]
|
|
|
|
[b]Output Ports:[/b]
|
|
|
|
- Sequence
|
|
|
|
- Data (variant): [code]get[/code]
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
|
2017-10-15 05:11:00 +02:00
|
|
|
The local variable's type.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2020-02-22 14:59:09 +01:00
|
|
|
<member name="var_name" type="StringName" setter="set_var_name" getter="get_var_name" default="@"new_local"">
|
2017-10-15 05:11:00 +02:00
|
|
|
The local variable's name.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|