summaryrefslogtreecommitdiff
path: root/modules/visual_script/doc_classes/VisualScriptClassConstant.xml
blob: dc946cfcbdc84e8e3801ffd73629e04b37652417 (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="VisualScriptClassConstant" inherits="VisualScriptNode" category="Core" version="3.1-dev">
	<brief_description>
		Gets a constant from a given class.
	</brief_description>
	<description>
		This node returns a constant from a given class, such as [@GlobalScope.TYPE_INT]. See the given class' documentation for available constants.
		[b]Input Ports:[/b]
		none
		[b]Output Ports:[/b]
		- Data (variant): [code]value[/code]
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
	</methods>
	<members>
		<member name="base_type" type="String" setter="set_base_type" getter="get_base_type">
			The constant's parent class.
		</member>
		<member name="constant" type="String" setter="set_class_constant" getter="get_class_constant">
			The constant to return. See the given class for its available constants.
		</member>
	</members>
	<constants>
	</constants>
</class>