mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
15 lines
858 B
XML
15 lines
858 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualShaderNodeIf" inherits="VisualShaderNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Outputs a 3D vector based on the result of a floating-point comparison within the visual shader graph.
|
|
</brief_description>
|
|
<description>
|
|
This visual shader node has six input ports:
|
|
- Port [b]1[/b] and [b]2[/b] provide the two floating-point numbers [code]a[/code] and [code]b[/code] that will be compared.
|
|
- Port [b]3[/b] is the tolerance, which allows similar floating-point numbers to be considered equal.
|
|
- Ports [b]4[/b], [b]5[/b], and [b]6[/b] are the possible outputs, returned if [code]a == b[/code], [code]a > b[/code], or [code]a < b[/code] respectively.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
</class>
|