open all | close all

Compare 比较Preview 预览Basic 基础Inputs 投入Outputs 产出

Inputs

投入

Operation

操作

Here you can select from various logic comparisons. Whenever a comparison is positive, the Node will output 1 or TRUE. If the comparison is negative, 0 or FALSE will be output. The following options are available:

这里您可以从各种逻辑比较中进行选择。当比较结果为正时,Node 将输出1或 TRUE。如果比较结果为负,则输出为0或 FALSE。以下方案可供选择:

  • Greater Than 大于: A positive Result will be output only if Input 1 is greater than Input 2. : 只有当输入1大于输入2时,才会产生正结果
  • Less Than 少于: The Node will output 1 or TRUE only if Input 1 is less than Input 2. : 只有当输入1小于输入2时,Node 才会输出1或 TRUE
  • Greater or Equal 更大或相等: A positive Result will be output if Input 1 is equal to or greater than Input 2. : 如果输入1等于或大于输入2,则输出为正结果
  • Less or Equal 相对或平等: 1 or TRUE will be output if Input 1 is equal to or less than Input 2. 如果输入1等于或小于输入2,则输出为1或 TRUE
  • Equal 平等: Checks if both values are equal. : 检查两个值是否相等
  • Not Equal 不平等: If Input 1 and Input 2 are not equal, 1 or TRUE will be output. 如果输入1和输入2不相等,则输出为1或 TRUE

Data Type

数据类型

Here you can select the data type for both value inputs. You can select from Float for float comma values, Int for whole number values and UInt as a special format for positive whole number values. URLs and String values can also be compared with one another since the sequence for symbols can also be ascertained. The letter A, for example, comes before the letter B and is less in comparison. Vector formats such as Color (color), ColorA (color with alpha) and Vector can be compared with one another. This comparison will be made per component. As soon as one of the vector components meets the requirements of the selected Operation, a positive value will be output.

在这里,您可以为两个值输入选择数据类型。可以从 Float 中选择 Float 逗号值,整数值选择 Int,整数值选择 UInt 作为正整数值的特殊格式。Url 和 String 值也可以相互比较,因为符号的顺序也可以确定。例如,字母 a 位于字母 b 之前,相比之下就没那么重要了。像 Color (Color)、 ColorA (Color with alpha)和 Vector 这样的向量格式可以相互比较。将对每个组件进行此比较。一旦其中一个矢量分量符合所选行动的要求,就会产生一个正值。

Input 1[-∞..+∞]
Input 2[-∞..+∞]

输入1[-∞ . . + ∞]输入2[-∞ . . + ∞]

Here you can input both numeric values into the Node that should be compared with one another.

在这里,您可以将两个数值都输入到 Node 中,这两个数值应该相互比较。