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

布尔比较运算符,在可视化着色器图中使用。

Description

返回 INFNaN与标量参数之间比较的布尔值结果。

Properties

Function

function

0


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的选项。