Xor
Bool Vectors
The Xor Elements node takes in a value (bool2, bool3, or bool4), and functions as a logical xor, returning true if the inputs are set to true an odd number of times.
- 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.
Inputs
V (Pseudo-Generic)
The set of inputs to check.
Outputs
* (bool)
Returns true if the inputs are set to true an odd number of times.
See Also
- Wikipedia's definition of logical xor, bitwise xor, & xor gate.
- Microsoft's documentation on the xor operator.