#usda 1.0
(
    doc ="""Generated from node description file OgnTutorialGenericMathNode.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_GenericMathNode" (
        docs="""This is a tutorial node. It is functionally equivalent to the built-in Multiply node, but written in python as a practical demonstration of using extended attributes to  write math nodes that work with any numeric types, including arrays and tuples."""
    )
    {
        token node:type = "omni.graph.tutorials.GenericMathNode"
        int node:typeVersion = 1

        # 2 attributes
        custom token inputs:a (
            docs="""First number to multiply"""
        )
        custom token inputs:b (
            docs="""Second number to multiply"""
        )

        # 1 attribute
        custom token outputs:product (
            docs="""Product of the two numbers"""
        )
    }
}
