InitialObjectDescriptor {
 objectDescriptorID 1
 ODProfileLevelIndication 1
 esDescr [
  ES_Descriptor {
   ES_ID 1
   decConfigDescr DecoderConfigDescriptor {
    objectTypeIndication 1
    streamType 3
    bufferSizeDB 177
    decSpecificInfo BIFSConfig {
     nodeIDbits 24
     isCommandStream true
     pixelMetric true
     pixelWidth 400
     pixelHeight 300
    }
   }
  }
 ]
}

OrderedGroup {
 children [
  Background2D {backColor 1 1 1}
  WorldInfo {
   info [
    "This test shows usage of the Storage node. The rectangle position is stored upon closing of the scene in the player. It is restored if the scene is re-opened less than 10 seconds later."
    "" 
    "GPAC Regression Tests" "$Date: $ - $Revision: $" 
    "(C) 2010-200X GPAC Team"
   ]
   title "Storage Node for testing persistent storage"
  }
  DEF TR Transform2D {
   children [
    Shape {
     appearance Appearance {
      material Material2D {
       emissiveColor 1 0 0
       filled true
      }
     }
     geometry Rectangle {
      size 160 120
     }
    }
    DEF PS PlaneSensor2D {
     maxPosition -1 -1
     autoOffset TRUE
    }
   ]
  }
  Storage {
   expireAfter 10
   name "test storage"
   storageList [
    TR.translation
    PS.offset
   ]
  }
 ]
}

ROUTE PS.translation_changed TO TR.translation
