XOR
Boolean
The XOR node takes in two 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 both inputs are different, then the result will be true. - If both inputs are the same, then the result will be false.
Inputs
A (Pseudo-generic)
The first input value.
B (Pseudo-generic)
The second input value.
Outputs
* (Pseudo-generic)
Returns the result of a logical XOR of A
and B
if the node is a bool type, bitwise XOR otherwise.
Further Reading
Videos
See Also
- Wikipedia's definition of logical xor, bitwise xor, & xor gate.
- Microsoft's documentation on the xor operator.