summaryrefslogtreecommitdiff
path: root/doc/classes/VisualScriptSelect.xml
blob: f265c5764592e496faea302588573926de4a8b4e (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptSelect" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
	<brief_description>
		Chooses between two input values.
	</brief_description>
	<description>
		Chooses between two input values based on a Boolean condition.
		[b]Input Ports:[/b]
		- Data (boolean): [code]cond[/code]
		- Data (variant): [code]a[/code]
		- Data (variant): [code]b[/code]
		[b]Output Ports:[/b]
		- Data (variant): [code]out[/code]
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_typed" qualifiers="const">
			<return type="int" enum="Variant.Type">
			</return>
			<description>
			</description>
		</method>
		<method name="set_typed">
			<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_typed" getter="get_typed" enum="Variant.Type">
			The input variables' type.
		</member>
	</members>
	<constants>
	</constants>
</class>