To UChar
Converts the input to 8-bit unsigned integer. Array inputs are converted element-wise to arrays of the same shape. Conversion of floating-point values is performed by truncation towards zero. Conversion of negative values is performed by subtracting the converted positive value from 256.
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 |
---|---|---|---|
UChar (outputs:converted) |
|
The value converted to 8-bit unsigned integer form. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ToUchar |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
To UChar |
Categories |
math:conversion |
Generated Class Name |
OgnToUcharDatabase |
Python Module |
omni.graph.nodes |