.. _omni_graph_examples_python_PositionToColor_1:

.. _omni_graph_examples_python_PositionToColor:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: PositionToColor
    :keywords: lang-en omnigraph node examples python position-to-color


PositionToColor
===============

.. <description>

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)

.. </description>


Installation
------------

To use this node enable :ref:`omni.graph.examples.python<ext_omni_graph_examples_python>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "inputs:color_offset", "``colorf[3]``", "Offset added to the scaled color to get the final result", "[0.0, 0.0, 0.0]"
    "inputs:position", "``double[3]``", "Position to be converted to a color", "[0.0, 0.0, 0.0]"
    "inputs:scale", "``float``", "Constant by which to multiply the position to get the color", "1.0"


Outputs
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "outputs:color", "``colorf[3][]``", "Color value extracted from the position", "None"


Metadata
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "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"

