godot / 3.3 / classes / class_visualshadernodescalarswitch.html

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–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_visualshadernodescalarswitch.html