summaryrefslogtreecommitdiff
path: root/modules/visual_script/doc_classes/VisualScriptConstant.xml
blob: e2ccb50bfd8ba1680919c82952b0ac4e1a3e5a3a (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptConstant" inherits="VisualScriptNode" category="Core" version="3.0-stable">
	<brief_description>
		Gets a contant's value.
	</brief_description>
	<description>
		This node returns a constant's value.
		[b]Input Ports:[/b]
		none
		[b]Output Ports:[/b]
		- Data (variant): [code]get[/code]
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
	</methods>
	<members>
		<member name="type" type="int" setter="set_constant_type" getter="get_constant_type" enum="Variant.Type">
			The constant's type.
		</member>
		<member name="value" type="Variant" setter="set_constant_value" getter="get_constant_value">
			The constant's value.
		</member>
	</members>
	<constants>
	</constants>
</class>