.. _omni_graph_tutorials_SimpleData_1:

.. _omni_graph_tutorials_SimpleData:

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

:orphan:

.. meta::
    :title: Tutorial Node: Attributes With Simple Data
    :keywords: lang-en omnigraph node tutorials threadsafe tutorials simple-data


Tutorial Node: Attributes With Simple Data
==========================================

.. <description>

This is a tutorial node. It creates both an input and output attribute of every simple supported data type. The values are modified in a simple way so that the compute modifies values.

.. </description>


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

To use this node enable :ref:`omni.graph.tutorials<ext_omni_graph_tutorials>` in the Extension Manager.


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

    "Sample Boolean Input (*inputs:a_bool*)", "``bool``", "This is an attribute of type boolean", "True"
    "inputs:a_constant_input", "``int``", "This is an input attribute whose value can be set but can only be connected as a source.", "0"
    "", "*outputOnly*", "1", ""
    "inputs:a_double", "``double``", "This is an attribute of type 64 bit floating point", "0"
    "inputs:a_float", "``float``", "This is an attribute of type 32 bit floating point", "0"
    "Sample Half Precision Input (*inputs:a_half*)", "``half``", "This is an attribute of type 16 bit float", "0.0"
    "inputs:a_int", "``int``", "This is an attribute of type 32 bit integer", "0"
    "inputs:a_int64", "``int64``", "This is an attribute of type 64 bit integer", "0"
    "inputs:a_objectId", "``objectId``", "This is an attribute of type objectId", "0"
    "inputs:a_path", "``path``", "This is an attribute of type path", ""
    "inputs:a_string", "``string``", "This is an attribute of type string", "helloString"
    "inputs:a_token", "``token``", "This is an attribute of type interned string with fast comparison and hashing", "helloToken"
    "inputs:unsigned:a_uchar", "``uchar``", "This is an attribute of type unsigned 8 bit integer", "0"
    "inputs:unsigned:a_uint", "``uint``", "This is an attribute of type unsigned 32 bit integer", "0"
    "inputs:unsigned:a_uint64", "``uint64``", "This is an attribute of type unsigned 64 bit integer", "0"


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

    "Sample Boolean Output (*outputs:a_bool*)", "``bool``", "This is a computed attribute of type boolean", "False"
    "outputs:a_double", "``double``", "This is a computed attribute of type 64 bit floating point", "5.0"
    "outputs:a_float", "``float``", "This is a computed attribute of type 32 bit floating point", "4.0"
    "Sample Half Precision Output (*outputs:a_half*)", "``half``", "This is a computed attribute of type 16 bit float", "1.0"
    "outputs:a_int", "``int``", "This is a computed attribute of type 32 bit integer", "2"
    "outputs:a_int64", "``int64``", "This is a computed attribute of type 64 bit integer", "3"
    "outputs:a_objectId", "``objectId``", "This is a computed attribute of type objectId", "8"
    "outputs:a_path", "``path``", "This is a computed attribute of type path", "/"
    "outputs:a_string", "``string``", "This is a computed attribute of type string", "seven"
    "outputs:a_token", "``token``", "This is a computed attribute of type interned string with fast comparison and hashing", "six"
    "outputs:unsigned:a_uchar", "``uchar``", "This is a computed attribute of type unsigned 8 bit integer", "9"
    "outputs:unsigned:a_uint", "``uint``", "This is a computed attribute of type unsigned 32 bit integer", "10"
    "outputs:unsigned:a_uint64", "``uint64``", "This is a computed attribute of type unsigned 64 bit integer", "11"


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

    "Unique ID", "omni.graph.tutorials.SimpleData"
    "Version", "1"
    "Extension", "omni.graph.tutorials"
    "Icon", "ogn/icons/omni.graph.tutorials.SimpleData.svg"
    "Has State?", "False"
    "Implementation Language", "C++"
    "Default Memory Type", "cpu"
    "Generated Code Exclusions", "None"
    "uiName", "Tutorial Node: Attributes With Simple Data"
    "Categories", "tutorials"
    "Generated Class Name", "OgnTutorialSimpleDataDatabase"
    "Python Module", "omni.graph.tutorials"

