Houdini 21.0 Nodes APEX nodes

Xor

Performs a logical XOR operation.

On this page
Since 20.0

The XOR operation performs a logical exclusive disjunction. If two inputs have the same logical value, the result is False. If the two inputs have different values, the result is True.

Input A

Input B

Output (A XOR B)

True

True

False

True

False

True

False

True

True

False

False

False

For more than two inputs, the XOR operation starts by performing an XOR between the first two inputs. The result is then XOR'ed with the third input, and so on for the rest of the inputs. For example, if there are three inputs:

Input A

Input B

Result_AB (A XOR B)

True

False

True

Result_AB

Input C

Output (Result_AB XOR C)

True

True

False

Inputs

inputs: VariadicArg<Bool>

Variadic input of logical values.

Outputs

result: Bool

The computed logical value.

See also

APEX nodes