Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:OR

The OR node takes in two value inputs (either a bool or a number value), and functions as both a logical OR or bitwise OR depending on the type used.
OR
A
*
B
Boolean

The OR node takes in two value inputs (either a bool or a number value), and functions as both a logical OR or bitwise OR depending on the type used.

If at least one of the inputs are true, then the result will be true.
Compared to its Multi counterpart, the normal OR is slightly faster at the cost of not performing short-circuit evaluation: it always evaluates both inputs.

Inputs

A (Pseudo-generic)

The first input value.

B (Pseudo-generic)

The second input value.

Outputs

* (Pseudo-generic)

Returns the result of a logical OR of A and B if the node is a bool type, bitwise OR otherwise.

Further Reading

Videos

See Also