OmniGraph Node omni.graph.nodes.BooleanOr¶
omni.graph.nodes.BooleanOr Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Boolean OR |
__categories |
math:condition |
Generated Class Name |
OgnOrDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.BooleanOr Description¶
Boolean OR on two inputs. If a and b are arrays, OR operations will be performed pair-wise. Sizes of a and b must match. If only one input is an array, the other input will be broadcast to the size of the array. Returns an array of booleans if either input is an array, otherwise returning a boolean.
omni.graph.nodes.BooleanOr Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:a |
[‘bool’, ‘bool[]’] |
None |
Y |
Input A: bool or bool array. |
inputs:b |
[‘bool’, ‘bool[]’] |
None |
Y |
Input B: bool or bool array. |
omni.graph.nodes.BooleanOr Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:result |
[‘bool’, ‘bool[]’] |
None |
Y |
The result of the boolean OR - an array of booleans if either input is an array, otherwise a boolean. |
uiName |
Result |