<?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">
<![CDATA[
ecmascript: function initialize () { // constructor:setup interpolator pos1 = new SFVec3f(-distance, 0, 0); pos2 = new SFVec3f(distance, 0, 0); position = new MFVec3f(pos1, pos2, pos1); }
]]>
<![CDATA[
ecmascript: function initialize() { // constructor: setup interpolator rot1 = new SFRotation(0, 0, 1, 0); rot2 = new SFRotation(0, 0, 1, maxAngle/2); rot3 = new SFRotation(0, 0, 1, maxAngle); rotation = new MFRotation(rot1, rot2, rot3, rot2, rot1); }
]]>
Event Graph ROUTE Table entries with 6 ROUTE connections 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.
T
TimeSensor fraction_changed SFFloat |
I
PositionInterpolator set_fraction SFFloat |
then |
I
PositionInterpolator value_changed SFVec3f |
F
Transform translation SFVec3f |
TT
TimeSensor fraction_changed SFFloat |
II
OrientationInterpolator set_fraction SFFloat |
then |
II
OrientationInterpolator value_changed SFRotation |
FF
Transform rotation SFRotation |
S
Script position SFVec3f |
I
PositionInterpolator keyValue MFVec3f |
then |
I
PositionInterpolator value_changed SFVec3f |
F
Transform translation SFVec3f |
SS
Script rotation SFRotation |
II
OrientationInterpolator keyValue MFRotation |
then |
II
OrientationInterpolator value_changed SFRotation |
FF
Transform rotation SFRotation |
ProtoInstance Pendulum |
No ROUTE connection found for output from this node. Contains SFNode/MFNode field with indirect access to other nodes. |
ProtoInstance Shuttle |
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/X3dSpecifications/ShuttlesAndPendulumsIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ShuttlesAndPendulums.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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->