b68dd2e189
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
795 B
XML
22 lines
795 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptSelect" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<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>
|
|
<members>
|
|
<member name="type" type="int" setter="set_typed" getter="get_typed" enum="Variant.Type" default="0">
|
|
The input variables' type.
|
|
</member>
|
|
</members>
|
|
</class>
|