To Token
Converts the input to a string representation stored as a token. Array inputs are converted to a single output string.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Value (inputs:value) |
|
The value to be converted to a string. Very large or very small numeric values may be converted to use an exponential representation of the value (e.g. 1.234e+06). Arrays of numeric values are converted using a list syntax (e.g. “[1.5, -0.03]”). A uchar value converts to a string of a single unquoted character. An array of uchar values converts to an unquoted string. Zero values (i.e. null characters) in the array may result in undefined behavior and should be avoided. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Token (outputs:converted) |
|
The input value represented as a string token. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ToToken |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
To Token |
Categories |
function |
Generated Class Name |
OgnToTokenDatabase |
Python Module |
omni.graph.nodes |