InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 254 visualProfileLevelIndication 254 sceneProfileLevelIndication 254 graphicsProfileLevelIndication 254 ODProfileLevelIndication 254 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 200 pixelHeight 200 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info [ "This test shows how to retrieve the mouse position when it is moved." "The TouchSensor node generates the hitPoint event, which is a 3D point, when the mouse moves. This can be used in scripts to trigger actions." "" "GPAC Regression Tests" "(C) 2002-2006 GPAC Team" ] title "TouchSensor & hitPoint" } Transform2D { children [ Shape { appearance DEF APP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Rectangle {} } ] } Transform2D { children [ Shape { appearance Appearance { material Material2D { emissiveColor 0 0 0 } } geometry Rectangle { size 198 198 } } DEF TS TouchSensor {} ] } Transform2D { translation 0 -50 children [ Shape { appearance USE APP geometry DEF TXT Text { string [""] fontStyle FontStyle { justify ["MIDDLE"] size 16 } } } ] } DEF V Valuator { Factor3 0 } ] } ROUTE TS.hitPoint_changed TO V.inSFVec3f ROUTE V.outMFString TO TXT.string