ProtoFlux:Greater Than: Difference between revisions

From Resonite Wiki
fix
Filled in this node page.
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"", "Type":"Dummy"},
{"Name":"A", "Type":"Dummy"},
{"Name":"", "Type":"Dummy"}
{"Name":"B", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"", "Type":"Dummy"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Greater Than''' node takes in 2 values and returns if the first value is larger than the second value.
 
{{Note|For other comparison nodes:
* If you need to check if a value is less than something else, use the [[ProtoFlux:Less Than|Less Than]] node instead.
* If you need to check if a value is greater than or equal to something else, use the [[ProtoFlux:Greater Or Equal|Greater Or Equal]] node instead.
* If you need to check if a value is less than or equal to something else, use the [[ProtoFlux:Less Or Equal|Less Or Equal]] node instead.
|suggestion}}
 
== Inputs ==
 
=== A ([[Impulses|Call]]) ===
 
The first value.
 
=== B ([[Type:float3|float3]]) ===
 
The second value.
 
== Outputs ==
 
=== * ([[Type:bool|bool]]) ===
 
Returns if the first value is larger than the second value.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Inequality_(mathematics) inequality].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/comparison-operators greater than] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Revision as of 13:04, 27 June 2024

>
A
*
B
Operators

The Greater Than node takes in 2 values and returns if the first value is larger than the second value.

For other comparison nodes:
  • If you need to check if a value is less than something else, use the Less Than node instead.
  • If you need to check if a value is greater than or equal to something else, use the Greater Or Equal node instead.
  • If you need to check if a value is less than or equal to something else, use the Less Or Equal node instead.

Inputs

A (Call)

The first value.

B (float3)

The second value.

Outputs

* (bool)

Returns if the first value is larger than the second value.

See Also