PositionToColor
This node takes positional data (double3) and converts to a color, and outputs as color3f[] (which seems to be the default color connection in USD)
Installation
To use this node enable omni.graph.examples.python in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Color Offset (inputs:color_offset) |
|
Offset added to the scaled color to get the final result |
[0.0, 0.0, 0.0] |
Position (inputs:position) |
|
Position to be converted to a color |
[0.0, 0.0, 0.0] |
Scale (inputs:scale) |
|
Constant by which to multiply the position to get the color |
1.0 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Color (outputs:color) |
|
Color value extracted from the position |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.examples.python.PositionToColor |
Version |
1 |
Extension |
omni.graph.examples.python |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
PositionToColor |
Categories |
examples |
Generated Class Name |
OgnPositionToColorDatabase |
Python Module |
omni.graph.examples.python |