<?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">
<![CDATA[
ecmascript: function set_open() { keyValue_changed[0][0] = 0; keyValue_changed[0][1] = 1; keyValue_changed[0][2] = 0; keyValue_changed[1][0] = 0; keyValue_changed[1][1] = 1; keyValue_changed[1][2] = 0; keyValue_changed[1][3] = -0.754; keyValue_changed[2][0] = 0; keyValue_changed[2][1] = 1; keyValue_changed[2][2] = 0; if(open == false) { keyValue_changed[0][3] = 0; keyValue_changed[2][3] = -1.57; open = true; } else { if(open == true) { keyValue_changed[0][3] = -1.57; keyValue_changed[2][3] = 0; open = false; } } }
]]>
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.
touch_door
TouchSensor touchTime SFTime |
clock
TimeSensor startTime SFTime |
then |
clock
TimeSensor fraction_changed SFFloat |
open_door
OrientationInterpolator set_fraction SFFloat |
then |
open_door
OrientationInterpolator value_changed SFRotation |
transform_door
Transform set_rotation SFRotation |
|||
touch_door
TouchSensor touchTime SFTime |
open_door_js
Script set_open SFTime |
then |
open_door_js
Script keyValue_changed MFRotation |
open_door
OrientationInterpolator set_keyValue MFRotation |
then |
open_door
OrientationInterpolator value_changed SFRotation |
transform_door
Transform set_rotation SFRotation |
|||
touch_door
TouchSensor touchTime SFTime |
grinding_door
AudioClip startTime SFTime |
ProtoInstance Chair |
No ROUTE connection found for output from this node. Contains SFNode/MFNode field with indirect access to other nodes. |
ProtoInstance Desk |
No ROUTE connection found for output from this node. Contains SFNode/MFNode field with indirect access to other nodes. |
ProtoInstance WallLamp |
No ROUTE connection found for output from this node. Contains SFNode/MFNode field with indirect access to other nodes. |
ProtoInstance WallLamp |
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/StudentProjects/RoomIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/StudentProjects/Room.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. -->