W3cubDocs

/Godot 3.2

VisualShaderNodeScalarSwitch

Inherits: VisualShaderNodeSwitch < VisualShaderNode < Resource < Reference < Object

A boolean/scalar function for use within the visual shader graph.

Description

Returns an associated scalar if the provided boolean value is true or false.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualshadernodescalarswitch.html