#usda 1.0
(
    doc ="""Generated from node description file OgnTutorialState.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_State" (
        docs="""This is a tutorial node. It makes use of internal state information to continuously increment an output."""
    )
    {
        token node:type = "omni.graph.tutorials.State"
        int node:typeVersion = 1

        # 2 attributes
        custom bool inputs:override = false (
            docs="""When true get the output from the overrideValue, otherwise use the internal value"""
        )
        custom int64 inputs:overrideValue = 0 (
            docs="""Value to use instead of the monotonically increasing internal one when 'override' is true"""
        )

        # 1 attribute
        custom int64 outputs:monotonic = 0 (
            docs="""Monotonically increasing output, set by internal state information"""
        )
    }
}
