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.
22 lines
937 B
XML
22 lines
937 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptCondition" inherits="VisualScriptNode" version="3.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
A Visual Script node which branches the flow.
|
|
</brief_description>
|
|
<description>
|
|
A Visual Script node that checks a [bool] input port. If [code]true[/code], it will exit via the "true" sequence port. If [code]false[/code], it will exit via the "false" sequence port. After exiting either, it exits via the "done" port. Sequence ports may be left disconnected.
|
|
[b]Input Ports:[/b]
|
|
- Sequence: [code]if (cond) is[/code]
|
|
- Data (boolean): [code]cond[/code]
|
|
[b]Output Ports:[/b]
|
|
- Sequence: [code]true[/code]
|
|
- Sequence: [code]false[/code]
|
|
- Sequence: [code]done[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|