<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive'  version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.0.xsd ' >
<head>
<meta name='titlecontent=' RefractiveMaterial.x3d '/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='24 May 2000'/>
<meta name='modifiedcontent='28 October 2019'/>
<meta name='descriptioncontent='VRML 97 specification example: create new node RefractiveMaterial for example D.7'/>
<meta name='referencecontent='originals/refractivematerial.wrl'/>
<meta name='specificationSectioncontent=' VRML 97, ISO/IEC 14772-1, Part 1: Functional specification and UTF-8 encoding, D.7 Prototypes and alternate representations'/>
<meta name='specificationUrlcontent=' https://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.7 '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/RefractiveMaterial.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

to top <!-- Index for DEF nodes: M, TouchTextForExample

Index for ProtoDeclare definition: RefractiveMaterial
-->
<Scene>
<!-- external protype definition -->
<WorldInfo title='RefractiveMaterial.x3d'/>
<ProtoDeclare name='RefractiveMaterial'>
<ProtoInterface>
<field name='ambientIntensitytype='SFFloatvalue='0accessType='inputOutput'/>
<field name='diffuseColortype='SFColorvalue='0.5 0.5 0.5accessType='inputOutput'/>
<field name='specularColortype='SFColorvalue='0 0 0accessType='inputOutput'/>
<field name='emissiveColortype='SFColorvalue='0 0 0accessType='inputOutput'/>
<field name='shininesstype='SFFloatvalue='0accessType='inputOutput'/>
<field name='transparencytype='SFFloatvalue='0accessType='inputOutput'/>
<field name='indexOfRefractiontype='SFFloatvalue='0.1accessType='inputOutput'/>
</ProtoInterface>
<ProtoBody>
<Material DEF='M'>
<IS>
<connect nodeField='ambientIntensityprotoField='ambientIntensity'/>
<connect nodeField='diffuseColorprotoField='diffuseColor'/>
<connect nodeField='specularColorprotoField='specularColor'/>
<connect nodeField='emissiveColorprotoField='emissiveColor'/>
<connect nodeField='shininessprotoField='shininess'/>
<connect nodeField='transparencyprotoField='transparency'/>
</IS>
</Material>
</ProtoBody>
</ProtoDeclare>
<!-- ==================== -->
<Anchor DEF='TouchTextForExampledescription='Touch Text For Exampleparameter='"target=_blank"'
  url=' Example07.x3d"https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example07.x3d" "Example07.wrl" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example07.wrl" ' >
<Shape>
<Appearance>
<ProtoInstance name='RefractiveMaterialcontainerField='material'/>
</Appearance>
<Text string='"RefractiveMaterial is a" "configurable Prototype (PROTO) declaration." "" "To see an example scene using this new node," "click this text and view Example07"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.65'/>
</Text>
</Shape>
</Anchor>
</Scene>
</X3D>
<!--

to top <!-- Index for DEF nodes: M, TouchTextForExample

Index for ProtoDeclare definition: RefractiveMaterial
-->

Event Graph ROUTE Table with 0 ROUTE total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.


ProtoInstance
RefractiveMaterial
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 


-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/RefractiveMaterialIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/RefractiveMaterial.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->