Tutorial Python Node: ABI Overrides
This tutorial node shows how to override ABI methods on your Python node. The algorithm of the node converts an RGB color into HSV components.
Installation
To use this node enable omni.graph.tutorials in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Color To Convert (inputs:color) |
|
The color to be converted |
[0.0, 0.0, 0.0] |
Metadata |
multipleValues = value1,value2,value3 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
H (outputs:h) |
|
The hue component of the input color |
None |
S (outputs:s) |
|
The saturation component of the input color |
None |
V (outputs:v) |
|
The value component of the input color |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.tutorials.AbiPy |
Version |
1 |
Extension |
omni.graph.tutorials |
Icon |
ogn/icons/omni.graph.tutorials.AbiPy.svg |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Tutorial Python Node: ABI Overrides |
Categories |
tutorials,internal:abiPy |
__categoryDescriptions |
internal:abiPy,Internal nodes that override the Python ABI functions |
Generated Class Name |
OgnTutorialABIPyDatabase |
Python Module |
omni.graph.tutorials |
See the accompanying tutorial and annotated code at Tutorial 12 - Python ABI Override Node