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

繼承: VisualShaderNode < Resource < RefCounted < Object

布林比較運算子,在視覺化著色器圖中使用。

說明

返回 INFNaN與標量參數之間比較的布林值結果。

屬性

Function

function

0


列舉

enum Function: 🔗

Function FUNC_IS_INF = 0

INF(無窮大)比較。

Function FUNC_IS_NAN = 1

Comparison with NaN (Not a Number; indicates invalid numeric results, such as division by zero).

Function FUNC_MAX = 2

代表 Function 列舉的大小。


屬性說明

Function function = 0 🔗

The comparison function.