Invert
Inverts the given value (1/value). If the input is zero, the result is zero. The result is the same type as the input value if it is a decimal type, otherwise the result is a double. If the input is a vector, then result will be calculated per element and output a vector of the same size.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Value (inputs:value) |
|
The input value. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:result) |
|
The resulting inverted value. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Invert |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Invert |
Categories |
math:operator |
Generated Class Name |
OgnInvertDatabase |
Python Module |
omni.graph.nodes |