Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeIs

Inherits: VisualShaderNode < Resource < RefCounted < Object

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

描述

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

属性

Function

function

0


Enumerations

enum Function:

Function FUNC_IS_INF = 0

Comparison with INF (Infinity).

Function FUNC_IS_NAN = 1

Comparison with NaN (Not a Number; denotes invalid numeric results, e.g. division by zero).

Function FUNC_MAX = 2

Represents the size of the Function enum.


Property Descriptions

Function function = 0

The comparison function. See Function for options.