b087538119
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
25 lines
866 B
XML
25 lines
866 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptSwitch" inherits="VisualScriptNode" version="3.5" 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>
|
|
<methods>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|