godot/modules/visual_script/doc_classes/VisualScriptSwitch.xml

27 lines
789 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2018-02-24 17:59:38 +00:00
<class name="VisualScriptSwitch" inherits="VisualScriptNode" category="Core" version="3.0.1">
<brief_description>
2017-10-15 03:11:00 +00:00
Branches program flow based on a given input's value.
</brief_description>
<description>
2017-10-15 03:11:00 +00:00
Branches the flow based on an input's value. Use "Case Count" 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>
<demos>
</demos>
<methods>
</methods>
<constants>
</constants>
</class>