summaryrefslogtreecommitdiff
path: root/modules/visual_script/doc_classes/VisualScriptSwitch.xml
blob: 7befe89f508be09194a9074bae28fdfa942b042f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptSwitch" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
	<brief_description>
		Branches program flow based on a given input's value.
	</brief_description>
	<description>
		Branches the flow based on an input's value. Use [b]Case Count[/b] in the Inspector to set the number of branches and each comparison's optional type.
		[b]Input Ports:[/b]
		- Sequence: [code]'input' is[/code]
		- Data (variant): [code]=[/code]
		- Data (variant): [code]=[/code] (optional)
		- Data (variant): [code]input[/code]
		[b]Output Ports:[/b]
		- Sequence
		- Sequence (optional)
		- Sequence: [code]done[/code]
	</description>
	<tutorials>
	</tutorials>
</class>