<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN"   "http://www.web3d.org/specifications/x3d-3.1.dtd">
<X3D profile='Immersiveversion='3.1xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.1.xsd '>
<head>
<meta name='titlecontent='TouchSensorIsOverEventJava.x3d'/>
<meta name='descriptioncontent='This example demonstrates a scripted response to a TouchSensor isOver event by changing the color of a Box from blue to red'/>
<meta name='creatorcontent='X3D Specification'/>
<meta name='translatedcontent='23 February 2005'/>
<meta name='modifiedcontent='15 March 2008'/>
<meta name='subjectcontent='X3D Java Script Authoring Interface (SAI)'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Basic/ScriptConformance/TouchSensorIsOverEventJava.x3d '/>
<meta name='referencecontent=' http://www.web3d.org/x3d/specifications/ISO-IEC-19777-2-X3DLanguageBindings-Java/Part2/examples.html#TouchSensorIsOverEvent '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../license.html'/>
</head>
<!--

Index for DEF nodes: MAT, SC, TS
-->
<Scene>
<Group>
<Shape>
<Appearance>
<!-- MAT ROUTE:  [from SC.diffuseColor_changed to set_diffuseColor ] -->
<Material DEF='MATdiffuseColor='0 0 1'/>
</Appearance>
<Box/>
</Shape>
<!-- TS ROUTE:  [from isOver to SC.isOver ] -->
<TouchSensor DEF='TS'/>
</Group>
<!-- SC ROUTEs:  [from TS.isOver to isOver ] [from diffuseColor_changed to MAT.set_diffuseColor ] -->
<Script DEF='SC'
  url=' "SAIExample1.class" "http://www.web3d.org/x3d/content/examples/Basic/ScriptConformance/SAIExample1.class" '>
<field name='isOvertype='SFBoolaccessType='inputOnly'/>
<field name='diffuseColor_changedtype='SFColoraccessType='outputOnly'/>
</Script>
<ROUTE fromNode='TSfromField='isOvertoNode='SCtoField='isOver'/>
<ROUTE fromNode='SCfromField='diffuseColor_changedtoNode='MATtoField='set_diffuseColor'/>
</Scene>
</X3D>
<!--

Index for DEF nodes: MAT, SC, TS
-->

<!-- Tag color codes: <Node DEF='idName' attribute='value'/> -->