#usda 1.0
(
    customLayerData = {
        dictionary cameraSettings = {
            dictionary Front = {
                double3 position = (0, 0, 50000)
                double radius = 500
            }
            dictionary Perspective = {
                double3 position = (500, 500, 500)
                double3 target = (-0.00000397803842133726, 0.000007956076785831101, -0.000003978038307650422)
            }
            dictionary Right = {
                double3 position = (-50000, 0, 0)
                double radius = 500
            }
            dictionary Top = {
                double3 position = (0, 50000, 0)
                double radius = 500
            }
            string boundCamera = "/OmniverseKit_Persp"
        }
        dictionary renderSettings = {
        }
    }
    defaultPrim = "World"
    endTimeCode = 100
    metersPerUnit = 0.01
    startTimeCode = 0
    timeCodesPerSecond = 24
    upAxis = "Y"
)

def Xform "World"
{
    def DistantLight "defaultLight" (
        prepend apiSchemas = ["ShapingAPI"]
    )
    {
        float angle = 1
        float intensity = 3000
        float shaping:cone:angle = 180
        float shaping:cone:softness
        float shaping:focus
        color3f shaping:focusTint
        asset shaping:ies:file
        double3 xformOp:rotateXYZ = (315, 0, 0)
        double3 xformOp:scale = (1, 1, 1)
        double3 xformOp:translate = (0, 0, 0)
        uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
    }

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

        def OmniGraphNode "constant_double"
        {
            custom double inputs:value = 10.3
            token node:type = "omni.graph.nodes.ConstantDouble"
            int node:typeVersion = 1
        }

        def OmniGraphNode "constant_float"
        {
            custom float inputs:value = 10.3
            token node:type = "omni.graph.nodes.ConstantFloat"
            int node:typeVersion = 1
        }

        def OmniGraphNode "constant_half"
        {
            custom half inputs:value = 10.2969
            token node:type = "omni.graph.nodes.ConstantHalf"
            int node:typeVersion = 1
        }

        def OmniGraphNode "floor_double"
        {
            custom token inputs:a
            prepend token inputs:a.connect = </World/TestGraph/constant_double.inputs:value>
            token node:type = "omni.graph.nodes.Floor"
            int node:typeVersion = 1
            custom int outputs:result
        }

        def OmniGraphNode "floor_float"
        {
            custom token inputs:a
            prepend token inputs:a.connect = </World/TestGraph/constant_float.inputs:value>
            token node:type = "omni.graph.nodes.Floor"
            int node:typeVersion = 1
            custom int outputs:result
        }

        def OmniGraphNode "floor_half"
        {
            custom token inputs:a
            prepend token inputs:a.connect = </World/TestGraph/constant_half.inputs:value>
            token node:type = "omni.graph.nodes.Floor"
            int node:typeVersion = 1
            custom int outputs:result
        }
    }
}

