InitialObjectDescriptor {
  objectDescriptorID 1
  ODProfileLevelIndication 0xFF
  sceneProfileLevelIndication 0xFE
  audioProfileLevelIndication 0xFF
  visualProfileLevelIndication 0xFF
  graphicsProfileLevelIndication 0xFE

  esdescr [
    ES_Descriptor {
      es_id 1
      decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 600
     pixelHeight 400
    }
      }
    }
  ]
}


EXTERNPROTO TestSensor [
    eventIn SFBool trigger
    exposedField SFFloat value 0.25
    eventOut SFFloat result
]
[ "urn:inet:gpac:builtin:TestSensor"]



OrderedGroup { children [
	WorldInfo {
   		info ["This tests GPAC HardcodedProto eventIn and eventOut" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:10 $ - $Revision: 1.2 $" "(C) 2002-2014 GPAC Team"]
   		title "Events in HardcodedProto"
  	}
  	Background2D { backColor 1 1 0}
	Transform2D { children [
		Shape {
			appearance Appearance { material DEF MAT Material2D { emissiveColor 1 0 0 filled TRUE} }
			geometry Rectangle { size 100 50 }
		}
		DEF TS TouchSensor {}
	]}
	DEF TES TestSensor {}
] }


ROUTE TS.isOver TO TES.trigger
ROUTE TES.result TO MAT.transparency




