Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
VisualShaderNodeIs
Inherits: VisualShaderNode < Resource < RefCounted < 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
|
Enumerations
enum Function: 🔗
Function FUNC_IS_INF = 0
Comparison with INF (Infinity).
Function FUNC_IS_NAN = 1
Comparison with NaN (Not a Number; indicates invalid numeric results, such as division by zero).
Function FUNC_MAX = 2
Represents the size of the Function enum.
Property Descriptions
The comparison function. See Function for options.