ProtoFlux:MultiXOR

From Resonite Wiki
Revision as of 16:37, 29 June 2024 by AmasterAmaster (talk | contribs) (Created a page for the MultiXOR node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
MultiXOR
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.

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