summaryrefslogtreecommitdiff
path: root/modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml
blob: 07b01d4576e9ee4af1df78288046d68509175484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptLocalVarSet" inherits="VisualScriptNode" category="Core" version="3.0-alpha">
	<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>
	<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>
		<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type">
			The local variable's type.
		</member>
		<member name="var_name" type="String" setter="set_var_name" getter="get_var_name">
			The local variable's name.
		</member>
	</members>
	<constants>
	</constants>
</class>