<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='Rotor.x3d'/>
<meta name='descriptioncontent='X3D specification example showing a spinning helicopter rotor that is used by the Chopper model.'/>
<meta name='creatorcontent='Don Brutzman and Joe Williams'/>
<meta name='createdcontent='1 June 2002'/>
<meta name='modifiedcontent='28 October 2019'/>
<meta name='specificationSectioncontent=' X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.16 Chopper'/>
<meta name='specificationUrlcontent=' https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/examples.html#Chopper '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Rotor.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for ProtoDeclare definition : Rotor

Index for DEF nodes : F, I, T
-->
<Scene>
<WorldInfo title='Rotor.x3d'/>
<ProtoDeclare name='Rotor'>
<ProtoInterface>
<field name='ratetype='SFTimevalue='1accessType='initializeOnly'/>
<field name='childrentype='MFNodeaccessType='initializeOnly'>
<!-- initial value is empty node array -->
</field>
<field name='startTimetype='SFTimevalue='0accessType='inputOutput'/>
<field name='stopTimetype='SFTimevalue='0accessType='inputOutput'/>
</ProtoInterface>
<ProtoBody>
<!-- ROUTE information for F node:  [from I.value_changed to set_rotation ] -->
<Transform DEF='F'>
<IS>
<connect nodeField='childrenprotoField='children'/>
</IS>
</Transform>
<!-- after first node in ProtoDeclare, remainder of nodes do not render -->
<!-- ROUTE information for T node:  [from fraction_changed to I.set_fraction ] -->
<TimeSensor DEF='Tloop='true'>
<IS>
<connect nodeField='cycleIntervalprotoField='rate'/>
<connect nodeField='startTimeprotoField='startTime'/>
<connect nodeField='stopTimeprotoField='stopTime'/>
</IS>
</TimeSensor>
<!-- ROUTE information for I node:  [from T.fraction_changed to set_fraction ] [from value_changed to F.set_rotation ] -->
<OrientationInterpolator DEF='Ikey='0 0.25 0.5 0.75 1keyValue='0 1 0 0 0 1 0 1.57 0 1 0 3.14 0 1 0 4.71 0 1 0 0'/>
<ROUTE fromNode='TfromField='fraction_changedtoNode='ItoField='set_fraction'/>
<ROUTE fromNode='IfromField='value_changedtoNode='FtoField='set_rotation'/>
</ProtoBody>
</ProtoDeclare>
<ProtoInstance name='Rotor'>
<fieldValue name='children'>
<Shape>
<Box size='4 0.2 0.1'/>
<Appearance>
<Material/>
</Appearance>
</Shape>
</fieldValue>
</ProtoInstance>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definition : Rotor

Index for DEF nodes : F, I, T
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->