2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="VisualScriptLocalVar" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
|
|
|
|
<brief_description>
|
2017-10-15 05:11:00 +02:00
|
|
|
Gets a local variable's value.
|
2017-09-12 22:42:36 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-15 05:11:00 +02:00
|
|
|
This node returns a local variable's value. "Var Name" must be supplied, with an optional type.
|
|
|
|
[b]Input Ports:[/b]
|
|
|
|
none
|
|
|
|
[b]Output Ports:[/b]
|
|
|
|
- Data (variant): [code]get[/code]
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_var_name" qualifiers="const">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_var_type" qualifiers="const">
|
|
|
|
<return type="int" enum="Variant.Type">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_var_name">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="name" type="String">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_var_type">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="type" type="int" enum="Variant.Type">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type">
|
2017-10-15 05:11:00 +02:00
|
|
|
The local variable's type.
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="var_name" type="String" setter="set_var_name" getter="get_var_name">
|
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>
|