godot/modules/visual_script/doc_classes/VisualScriptSelect.xml
2017-11-15 21:29:33 +01:00

43 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptSelect" inherits="VisualScriptNode" category="Core" version="3.0-alpha">
<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>
<demos>
</demos>
<methods>
<method name="get_typed" qualifiers="const">
<return type="int" enum="Variant.Type">
</return>
<description>
</description>
</method>
<method name="set_typed">
<return type="void">
</return>
<argument index="0" name="type" type="int" enum="Variant.Type">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="type" type="int" setter="set_typed" getter="get_typed" enum="Variant.Type">
The input variables' type.
</member>
</members>
<constants>
</constants>
</class>