To Int
Convert the given input to signed 32-bit integer. Array and tuple inputs are converted element-wise to arrays and tuples of the same shape. Conversion of floating-point values is performed by truncation towards zero.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Value (inputs:value) |
|
The numeric or boolean value to convert. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Int (outputs:converted) |
|
The value converted to 32-bit integer form. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ToInt |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
To Int |
Categories |
math:conversion |
Generated Class Name |
OgnToIntDatabase |
Python Module |
omni.graph.nodes |