41 lines
968 B
XML
41 lines
968 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptVariableSet" inherits="VisualScriptNode" category="Core" version="3.0-beta">
|
|
<brief_description>
|
|
Changes a variable's value.
|
|
</brief_description>
|
|
<description>
|
|
Changes a variable's value to the given input.
|
|
[b]Input Ports:[/b]
|
|
- Sequence
|
|
- Data (variant): [code]set[/code]
|
|
[b]Output Ports:[/b]
|
|
- Sequence
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_variable" qualifiers="const">
|
|
<return type="String">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_variable">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="var_name" type="String" setter="set_variable" getter="get_variable">
|
|
The variable's name.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|