InitialObjectDescriptor {
 objectDescriptorID 1
 audioProfileLevelIndication 255
 visualProfileLevelIndication 254
 sceneProfileLevelIndication 1
 graphicsProfileLevelIndication 1
 ODProfileLevelIndication 1
 esDescr [
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    streamType 3
    decSpecificInfo BIFSConfig {
     isCommandStream true
     pixelMetric true
     pixelWidth 300
     pixelHeight 300
    }
   }
  }
 ]
}

OrderedGroup {
 children [
  Background2D {
   backColor 1 1 1
  }
  WorldInfo {
   info ["This shows usage of timesensor start time" "Animation can be restarted even if not over" "" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:10 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
   title "TimeSensor startTime test"
  }
  Transform2D {
   translation -100 0
   children [
    DEF N3 TouchSensor {}
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 1 0
       filled TRUE
      }
     }
     geometry Rectangle {
      size 80 80
     }
    }
   ]
  }
  DEF N2 TimeSensor {
   cycleInterval 2
   startTime 2
   stopTime -1
  }
  DEF N0 PositionInterpolator2D {
   key [0 1]
   keyValue [100 -100 100 100]
  }
  DEF N4 Transform2D {
   translation 100 -100
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 0.5 0.5 0.5
       filled TRUE
      }
     }
     geometry Rectangle {
      size 80 80
     }
    }
   ]
  }
 ]
}

ROUTE N3.touchTime TO N2.stopTime
ROUTE N3.touchTime TO N2.startTime
ROUTE N2.fraction_changed TO N0.set_fraction
ROUTE N0.value_changed TO N4.translation

