mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #10502 from The-oldone/Fix-typo-in-visual-shaders
Fix `Switch` node boolean conversion description in Visual shaders
This commit is contained in:
@@ -224,7 +224,7 @@ Switch node
|
||||
~~~~~~~~~~~
|
||||
|
||||
The ``Switch`` node returns a vector if the boolean condition is ``true`` or
|
||||
``false``. ``Boolean`` was introduced above. If you convert a vector to a true
|
||||
boolean, all components of the vector should be above zero.
|
||||
``false``. ``Boolean`` was introduced above. If you want to convert a vector
|
||||
to a true boolean, all components of the vector should be non-zero.
|
||||
|
||||
.. image:: img/vs_switch.webp
|
||||
|
||||
Reference in New Issue
Block a user