Increment
Add a double argument to any type (element-wise). This includes simple values, tuples, arrays, and arrays of tuples. The output type/shape is always the same as the input “Value“‘s type/shape. For example, a “Value” input of type tuple with an “Increment amount” type double will compute a tuple. Fractional values are used for approximation. For example: (int)4 + 3.2 will return 7. The default increment value is 1.0.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Increment amount (inputs:increment) |
|
The number added to the first operand “Value” (in an element-wise fashion where appropriate). |
1.0 |
Value (inputs:value) |
|
The operand that is to be increased by the “Increment amount”. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:result) |
|
Result of the increment; should have the same type and shape as the input “Value”. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Increment |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Increment |
Categories |
math:operator |
Generated Class Name |
OgnIncrementDatabase |
Python Module |
omni.graph.nodes |