#X3D V3.0 utf8 PROFILE Immersive # [meta] reference: RouteInlineURLField.x3dv # example is expected to replace the scene when the loaded scene is clicked NavigationInfo { headlight FALSE type [ "EXAMINE" "FLY" "ANY" ] } Background { skyColor [ 0 0 0 ] } DEF FRONT Viewpoint { description "FRONT" jump TRUE orientation 0 1 0 0 position 0 0 60 } DEF MainSceneNode Transform { scale 3 3 3 children [ DEF NextSensor TouchSensor { } DEF MainScene Inline { url [ "Instancing.x3dv" "http://www.hypermultimedia.com/x3d/URLTests/Instancing.x3dv" ] } ] } DEF LoadNewURL Script { inputOnly SFBool znext outputOnly MFString newurl initializeOnly MFString nexturl [ "RedSphereBlueBox.x3dv" "http://www.hypermultimedia.com/x3d/URLTests/RedSphereBlueBox.x3dv" ] url [ "RouteURLFieldChange.js" "http://www.hypermultimedia.com/x3d/URLTests/RouteURLFieldChange.js" ] } ROUTE NextSensor.isActive TO LoadNewURL.znext ROUTE LoadNewURL.newurl TO MainScene.url