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.
Checking the stable version of the documentation...
VisualShaderNodeIs¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
布尔比较运算符,在可视化着色器图中使用。
Description¶
返回 INF
或NaN
与标量参数之间比较的布尔值结果。
Properties¶
|
Enumerations¶
enum Function:
Function FUNC_IS_INF = 0
与 INF
(无穷大)比较。
Function FUNC_IS_NAN = 1
与 NaN
比较(不是一个数字;表示无效的数字结果,如除以 0)。
Function FUNC_MAX = 2
代表 Function 枚举的大小。
Property Descriptions¶
Function function = 0
比较函数。参阅Function的选项。