W3cubDocs

/Godot 3.2

VisualShaderNodeIs

Inherits: VisualShaderNode < Resource < Reference < Object

A boolean comparison operator to be used within the visual shader graph.

Description

Returns the boolean result of the comparison between INF or NaN and a scalar parameter.

Properties

Function function 0

Enumerations

enum Function:

  • FUNC_IS_INF = 0 --- Comparison with INF (Infinity).
  • FUNC_IS_NAN = 1 --- Comparison with NaN (Not a Number; denotes invalid numeric results, e.g. division by zero).

Property Descriptions

Function function

Default 0
Setter set_function(value)
Getter get_function()

The comparison function. See Function for options.

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