#usda 1.0
(
    doc ="""Generated from node description file OgnTutorialABIPy.ogn
Contains templates for node types found in that file."""
)

def OmniGraph "TestGraph"
{
    token evaluator:type = "push"
    int2 fileFormatVersion = (1, 3)
    token flatCacheBacking = "Shared"
    token pipelineStage = "pipelineStageSimulation"

    def OmniGraphNode "Template_omni_graph_tutorials_AbiPy" (
        docs="""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."""
    )
    {
        token node:type = "omni.graph.tutorials.AbiPy"
        int node:typeVersion = 1

        # 1 attribute
        custom color3d inputs:color = (0.0, 0.0, 0.0) (
            docs="""The color to be converted"""
        )

        # 3 attributes
        custom double outputs:h (
            docs="""The hue component of the input color"""
        )
        custom double outputs:s (
            docs="""The saturation component of the input color"""
        )
        custom double outputs:v (
            docs="""The value component of the input color"""
        )
    }
}
