OR
Last updated
Last updated
OR is a logical operator Node, which combines two or more Boolean expressions to yield a Boolean value, based on the inputs' logical relationship to one another. The Node outputs a true value if at least one of its inputs is true. Otherwise, it outputs false.
This is the equivalent of the ||
operator in computer programming.
Scope: Project, Scene, Function, Prefab.
Logical operation on Computer Hope.
Input 1 | Input 2 | Output |
---|---|---|
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
True
True
True
True
False
True
False
True
True
False
False
False
Count
Int
The amount of input Sockets the Node will have (the number of Boolean values that will be checked).
Pulse Input (►)
Pulse
A standard input Pulse, to trigger the execution of the Node.
Input [n]
Bool
The Boolean values to be checked.
Pulse Output (►)
Pulse
A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
Bool
True if one or more of the input Boolean values are also true. Otherwise false.