W3cubDocs

/Godot 3.2

VisualShaderNodeSwitch

Inherits: VisualShaderNode < Resource < Reference < Object

Inherited By: VisualShaderNodeScalarSwitch

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

Description

Returns an associated vector 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_visualshadernodeswitch.html