2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 09:03:48 +08:00
|
|
|
<class name="VisualScriptLocalVar" inherits="VisualScriptNode" version="4.0">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2017-10-15 11:11:00 +08:00
|
|
|
Gets a local variable's value.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-16 02:48:13 +08:00
|
|
|
Returns a local variable's value. "Var Name" must be supplied, with an optional type.
|
2017-10-15 11:11:00 +08:00
|
|
|
[b]Input Ports:[/b]
|
|
|
|
none
|
|
|
|
[b]Output Ports:[/b]
|
|
|
|
- Data (variant): [code]get[/code]
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
|
2017-10-15 11:11:00 +08:00
|
|
|
The local variable's type.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
2021-06-06 03:24:24 +08:00
|
|
|
<member name="var_name" type="StringName" setter="set_var_name" getter="get_var_name" default="&"new_local"">
|
2017-10-15 11:11:00 +08:00
|
|
|
The local variable's name.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|