summaryrefslogtreecommitdiff
path: root/modules/visual_script/doc_classes/VisualScriptLocalVar.xml
blob: 29dbddcdf498b6a3a1df0104926192022ee71cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptLocalVar" inherits="VisualScriptNode" version="4.0">
	<brief_description>
		Gets a local variable's value.
	</brief_description>
	<description>
		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]
	</description>
	<tutorials>
	</tutorials>
	<members>
		<member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
			The local variable's type.
		</member>
		<member name="var_name" type="StringName" setter="set_var_name" getter="get_var_name" default="&amp;&quot;new_local&quot;">
			The local variable's name.
		</member>
	</members>
</class>