Is Zero
Outputs a boolean indicating if all of the input values are zero within a specified tolerance.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Tolerance (inputs:tolerance) |
|
How close the value must be to 0 to be considered “zero”. |
0.0 |
Value (inputs:value) |
|
Value(s) to check for zero. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:result) |
|
If ‘value’ is a scalar then ‘result’ will be true if ‘value’ is zero. If ‘value’ is non-scalar (array, tuple, matrix, etc) then ‘result’ will be true if all of its elements/components are zero. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.IsZero |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Is Zero |
Categories |
math:condition |
Generated Class Name |
OgnIsZeroDatabase |
Python Module |
omni.graph.nodes |