ProtoFlux:MultiXOR: Difference between revisions

From Resonite Wiki
Created a page for the MultiXOR node.
 
Added an information note.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=MultiXOR
|Name=XOR
|Category=Boolean
|Category=Boolean
|Inputs=
|Inputs=
Line 18: Line 18:


{{Note|The above ruleset is unique to this node and is different compared to the [[ProtoFlux:XOR|XOR]] node, where the resulting output is simply just checking against 2 inputs.|warning}}
{{Note|The above ruleset is unique to this node and is different compared to the [[ProtoFlux:XOR|XOR]] node, where the resulting output is simply just checking against 2 inputs.|warning}}
{{Note|This node is similar to the [[ProtoFlux:Xor Elements|Xor Elements]] node.|information}}


== Inputs ==
== Inputs ==

Latest revision as of 18:18, 29 June 2024

XOR
Operands
*
+
-
Boolean

The MultiXOR node takes in any number of value inputs (either a bool or a number value), and functions as both a logical xor or bitwise XOR depending on the type used.

- If odd number of inputs are true, then the result will be true.
- If even number of inputs are true, then the result will be false.
The above ruleset is unique to this node and is different compared to the XOR node, where the resulting output is simply just checking against 2 inputs.
This node is similar to the Xor Elements node.

Inputs

Operands (Pseudo-generic)

The input values to do boolean calculations with.

Outputs

* (Pseudo-generic)

Returns the result of a logical XOR of all inputs if the node is a bool type, bitwise XOR otherwise.

Further Reading

Videos

See Also