Resize Array
Creates a copy of an input array with a new size. If the new size is larger than the input array’s length, then zero values will be added to the end of the output array. “New Size” values less than 0 will be treated as being equal to 0.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Array (inputs:array) |
|
The array that serves as the starting point for the resized output array. |
None |
New Size (inputs:newSize) |
|
The new size of the output array. Negative values are treated as a size of 0, which will create an empty output array. |
0 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Array (outputs:array) |
|
An array computed from the input array with the resizing operation applied. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ArrayResize |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Resize Array |
Categories |
math:array |
Generated Class Name |
OgnArrayResizeDatabase |
Python Module |
omni.graph.nodes |