x_ite 10.5.13 → 10.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +11 -4
  2. package/dist/assets/components/AnnotationComponent.js +2 -2
  3. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  4. package/dist/assets/components/CADGeometryComponent.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  6. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  8. package/dist/assets/components/DISComponent.js +2 -2
  9. package/dist/assets/components/DISComponent.min.js +2 -2
  10. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  12. package/dist/assets/components/Geometry2DComponent.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  14. package/dist/assets/components/GeospatialComponent.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  16. package/dist/assets/components/HAnimComponent.js +2 -2
  17. package/dist/assets/components/HAnimComponent.min.js +2 -2
  18. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  20. package/dist/assets/components/LayoutComponent.js +2 -2
  21. package/dist/assets/components/LayoutComponent.min.js +2 -2
  22. package/dist/assets/components/NURBSComponent.js +2 -2
  23. package/dist/assets/components/NURBSComponent.min.js +2 -2
  24. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  25. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  26. package/dist/assets/components/PickingComponent.js +2 -2
  27. package/dist/assets/components/PickingComponent.min.js +2 -2
  28. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  30. package/dist/assets/components/ScriptingComponent.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  32. package/dist/assets/components/TextComponent.js +4 -4
  33. package/dist/assets/components/TextComponent.min.js +2 -2
  34. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  36. package/dist/assets/components/Texturing3DComponent.js +10 -10
  37. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  38. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  39. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  40. package/dist/assets/components/X_ITEComponent.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.d.ts +161 -48
  45. package/dist/x_ite.js +132 -99
  46. package/dist/x_ite.min.js +2 -2
  47. package/dist/x_ite.min.mjs +2 -2
  48. package/dist/x_ite.mjs +132 -99
  49. package/dist/x_ite.zip +0 -0
  50. package/package.json +1 -1
package/dist/x_ite.css CHANGED
@@ -1 +1 @@
1
- /* X_ITE v10.5.13 */@font-face{font-family:"PT Sans";font-style:normal;font-weight:400;src:url("assets/fonts/PT_Sans/PTSans-Regular.ttf") format("truetype")}@font-face{font-family:"PT Sans";font-style:normal;font-weight:700;src:url("assets/fonts/PT_Sans/PTSans-Bold.ttf") format("truetype")}@font-face{font-family:"PT Sans";font-style:italic;font-weight:400;src:url("assets/fonts/PT_Sans/PTSans-Italic.ttf") format("truetype")}@font-face{font-family:"PT Sans";font-style:italic;font-weight:700;src:url("assets/fonts/PT_Sans/PTSans-BoldItalic.ttf") format("truetype")}:host,X3DCanvas{display:inline-block;overflow:hidden;outline:none;margin:0;border:0;border-radius:0;padding:0;width:300px;height:150px;-webkit-user-select:none;user-select:none}:host([hidden]){display:none}:host(.x_ite-fullscreen){width:100vw !important;height:100vh !important}X3DCanvas>:not(.x_ite-private-browser,.x_ite-private-menu){display:none}.x_ite-private-browser{overflow:hidden;position:relative;outline:none;margin:0;border:0;border-radius:0;padding:0;width:100%;height:100%;-webkit-user-select:none;user-select:none}.x_ite-private-surface{outline:none;margin:0;border:0;border-radius:0;padding:0;height:100%}.x_ite-private-canvas{display:block;outline:none;margin:0;border:0;border-radius:0;padding:0;width:100%;height:100%}.x_ite-private-notification{position:absolute;top:20px;right:-4px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-background-clip:padding-box;background-clip:padding-box;border:4px solid rgba(60,60,60,.61803);border-radius:5px;padding:5px;color:#fff;font-family:PT Sans,sans-serif;font-size:10pt;letter-spacing:unset;line-height:1;white-space:pre;pointer-events:none}.x_ite-private-notification span{padding:0 24px 0 20px;background:url("assets/images/icon.bw.png") no-repeat 0 2px;image-rendering:pixelated}.x_ite-private-browser-timings{position:absolute;bottom:-4px;left:-4px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-background-clip:padding-box;background-clip:padding-box;border-top:4px solid rgba(60,60,60,.61803);border-right:4px solid rgba(60,60,60,.61803);border-radius:5px;padding:10px 15px 14px 14px;color:#fff;font-family:PT Sans,sans-serif;font-size:9pt;white-space:pre;pointer-events:none}.x_ite-private-browser-timings table,.x_ite-private-browser-timings thead,.x_ite-private-browser-timings tbody,.x_ite-private-browser-timings tfoot,.x_ite-private-browser-timings tr,.x_ite-private-browser-timings th,.x_ite-private-browser-timings td{box-sizing:border-box;outline:0;margin:0;border:0;border-radius:0;padding:0;background:none;color:#fff;font-size:inherit;font-weight:normal;font-style:normal;letter-spacing:unset;line-height:1;text-align:left}.x_ite-private-browser-timings table{overflow:hidden;background:url("assets/images/Time.png") no-repeat;image-rendering:pixelated;width:100%;max-width:100%;border-collapse:separate;border-spacing:2px;empty-cells:show}.x_ite-private-browser-timings thead th{padding-left:20px;padding-bottom:5px;font-weight:bold}.x_ite-private-browser-timings td:first-child{padding-right:10px}.x_ite-private-browser-timings table.more tr.x_ite-private-more td{padding-bottom:5px}.x_ite-private-browser-timings table.less tr.x_ite-private-more~tr{display:none}.x_ite-private-browser-timings td{padding-bottom:2px}.x_ite-private-browser-timings tfoot td:first-child{padding-right:0}.x_ite-private-browser-timings tfoot td{padding-top:4px}.x_ite-private-browser-timings button{box-sizing:border-box;border:0;border-radius:10px;width:100%;height:14pt;padding:0;background:rgba(0,0,0,.38196601);color:#fff;font-family:PT Sans,sans-serif;font-style:italic;font-size:9pt;letter-spacing:unset;line-height:1.1;text-align:center;pointer-events:all;cursor:pointer}.x_ite-private-world-info-overlay{position:absolute;top:0;right:0;bottom:0;left:0;inset:0}.x_ite-private-world-info{overflow-y:auto;position:absolute;top:0;right:0;bottom:0;left:0;inset:0;margin:21pt;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-background-clip:padding-box;background-clip:padding-box;border:4px solid rgba(60,60,60,.61803);border-radius:15px;padding:21pt}.x_ite-private-world-info .x_ite-private-world-info-top,.x_ite-private-world-info .x_ite-private-world-info-title,.x_ite-private-world-info .x_ite-private-world-info-info,.x_ite-private-world-info p{box-sizing:border-box;outline:0;margin:0;border:0;border-radius:0;padding:0;background:none;color:#fff;font-family:PT Sans,sans-serif;font-size:inherit;font-weight:inherit;font-style:normal;letter-spacing:unset;line-height:1.2;text-align:left}.x_ite-private-world-info .x_ite-private-world-info-top{font-weight:bold;font-style:italic;font-size:9pt}.x_ite-private-world-info .x_ite-private-world-info-title{margin:.3em 0 1em 0;font-weight:bold;font-size:21pt}.x_ite-private-world-info .x_ite-private-world-info-info,.x_ite-private-world-info .x_ite-private-world-info-info p{margin:1em 0 1em 0;font-size:14pt}.x_ite-private-world-info a{text-decoration:underline;color:#fd9f2e}.x_ite-private-menu.context-menu-layer{position:fixed;z-index:10000;top:0;right:0;bottom:0;left:0;inset:0}.x_ite-private-menu.context-menu-list,.x_ite-private-menu .context-menu-list{display:none;box-sizing:border-box;min-width:120px;margin:0;margin-left:1px;border:4px solid rgba(0,0,0,0);border-radius:5px;padding:5px 10px 9px 9px;color:#fff;font-family:PT Sans,sans-serif;font-size:10pt;white-space:pre;line-height:1.2;list-style-type:none}.x_ite-private-menu.context-menu-list{position:fixed;z-index:10000;isolation:isolate}.x_ite-private-menu .context-menu-list{position:absolute}.x_ite-private-menu .context-menu-list{top:-13px}.x_ite-private-menu .context-menu-background{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;box-sizing:border-box;min-width:120px;margin:0;margin-left:1px;border:4px solid rgba(60,60,60,.61803);border-radius:5px;padding:5px 10px 9px 9px;background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-background-clip:padding-box;background-clip:padding-box}.x_ite-private-menu .context-menu-item{cursor:pointer;position:relative;border-radius:5px;margin:0;font-size:10pt;line-height:1;letter-spacing:unset;text-align:left}.x_ite-private-menu .context-menu-item{margin:0 4px 0 4px}.x_ite-private-menu .context-menu-item:first-of-type{margin-top:4px}.x_ite-private-menu .context-menu-item:last-of-type{margin-bottom:4px}.x_ite-private-menu .context-menu-item:hover:not(.context-menu-not-selectable){background-color:rgba(255,69,58,.8)}.x_ite-private-menu .context-menu-item:hover>.context-menu-list{display:block}.x_ite-private-menu .context-menu-not-selectable{cursor:default}.x_ite-private-menu .context-menu-separator{cursor:default;margin:2px 0;border-top:0;border-bottom:1px solid #8a8a8a;padding-top:0;padding-bottom:0}.x_ite-private-menu .context-menu-separator+.context-menu-separator{display:none !important}.x_ite-private-menu .context-menu-submenu:after{content:"";position:absolute;display:block;right:0;top:8px;margin-right:2px;border-style:solid;border-width:4px 0 4px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #eee;width:0;height:0}.x_ite-private-menu .context-menu-item>span{display:block;width:100%;padding:5px 24px}.x_ite-private-menu .context-menu-input>label{cursor:pointer;display:block;box-sizing:border-box;margin:0;padding:5px 24px;width:100%;font-size:10pt;letter-spacing:unset;line-height:1}.x_ite-private-menu .context-menu-input>label>*{vertical-align:top;font-size:10pt;font-weight:normal;letter-spacing:unset;line-height:1}.x_ite-private-menu .context-menu-item>label>input{all:revert;cursor:pointer}.x_ite-private-menu .context-menu-input>label>input[type=checkbox],.x_ite-private-menu .context-menu-input>label>input[type=radio]{accent-color:#ff453a;display:inline;width:12px;margin:0;margin-left:-20px;padding:0}.x_ite-private-menu .context-menu-input>label>span{padding-left:8px}.x_ite-private-menu .context-menu-title{font-weight:bold}.x_ite-private-menu .context-menu-selected{font-weight:bold;font-style:italic}.x_ite-private-menu .context-menu-icon{background-repeat:no-repeat;background-position:2px 3px;image-rendering:pixelated}.x_ite-private-icon-viewpoint{background:url("assets/images/Viewpoint.png")}.x_ite-private-icon-examine-viewer{background:url("assets/images/ExamineViewer.png")}.x_ite-private-icon-walk-viewer{background:url("assets/images/WalkViewer.png")}.x_ite-private-icon-fly-viewer{background:url("assets/images/FlyViewer.png")}.x_ite-private-icon-lookat-viewer{background:url("assets/images/gtk-zoom-in.png")}.x_ite-private-icon-plane-viewer{background:url("assets/images/PlaneViewer.png")}.x_ite-private-icon-none-viewer{background:url("assets/images/NoneViewer.png")}.x_ite-private-icon-zoom-fit{background:url("assets/images/gtk-zoom-fit.png")}.x_ite-private-icon-zoom-in{background:url("assets/images/gtk-zoom-in.png")}.x_ite-private-icon-primitive-quality{background:url("assets/images/PrimitiveQuality.png")}.x_ite-private-icon-texture-quality{background:url("assets/images/TextureQuality.png")}.x_ite-private-icon-shading{background:url("assets/images/Shading.png")}.x_ite-private-icon-enter-fullscreen{background:url("assets/images/gtk-fullscreen.png")}.x_ite-private-icon-leave-fullscreen{background:url("assets/images/gtk-leave-fullscreen.png")}.x_ite-private-icon-world-info{background:url("assets/images/go-next.png")}.x_ite-private-icon-help-about{background:url("assets/images/help-about.png")}.x_ite-private-splash-screen{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;inset:0;background:#1b1d21;background:-moz-radial-gradient(center, ellipse cover, #2f3135 0%, #1b1d21 100%);background:-webkit-radial-gradient(center, ellipse cover, #2f3135 0%, #1b1d21 100%);background:radial-gradient(ellipse at center, #2f3135 0%, #1b1d21 100%)}.x_ite-private-spinner{position:absolute;top:calc(50% - 69px);left:calc(50% - 67px);width:138px;height:134px;background:url("assets/images/logo.128.png") no-repeat;image-rendering:optimizeQuality;-webkit-animation:spinner-animation-spin 32s linear infinite;-moz-animation:spinner-animation-spin 32s linear infinite;animation:spinner-animation-spin 32s linear infinite}@-moz-keyframes spinner-animation-spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spinner-animation-spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spinner-animation-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.x_ite-private-progress{position:absolute;top:calc(50% - 28pt - 11pt);left:calc(50% - 100px);width:200px}.x_ite-private-x_ite{color:#fff;font-size:28pt;text-align:center;text-shadow:1px 1px 0 #000;font-family:PT Sans,sans-serif}.x_ite-private-x_ite span.x_ite-private-x3d{font-weight:bold}.x_ite-private-spinner-text{color:#fff;font-size:11pt;text-align:center;text-shadow:1px 1px 0 #000;font-family:PT Sans,sans-serif}.x_ite-private-progressbar{margin:8px;border-left:2px solid hsla(0,0%,100%,.5);border-right:2px solid hsla(0,0%,100%,.5);padding:0 2px;text-align:left}.x_ite-private-progressbar div{width:0%;height:6px;background:hsla(0,0%,100%,.5)}.x_ite-private-xr-button{position:absolute;right:10px;bottom:10px;width:32px;height:18px;background:url("assets/images/XR.svg");opacity:.6;cursor:pointer}
1
+ /* X_ITE v10.5.15 */@font-face{font-family:"PT Sans";font-style:normal;font-weight:400;src:url("assets/fonts/PT_Sans/PTSans-Regular.ttf") format("truetype")}@font-face{font-family:"PT Sans";font-style:normal;font-weight:700;src:url("assets/fonts/PT_Sans/PTSans-Bold.ttf") format("truetype")}@font-face{font-family:"PT Sans";font-style:italic;font-weight:400;src:url("assets/fonts/PT_Sans/PTSans-Italic.ttf") format("truetype")}@font-face{font-family:"PT Sans";font-style:italic;font-weight:700;src:url("assets/fonts/PT_Sans/PTSans-BoldItalic.ttf") format("truetype")}:host,X3DCanvas{display:inline-block;overflow:hidden;outline:none;margin:0;border:0;border-radius:0;padding:0;width:300px;height:150px;-webkit-user-select:none;user-select:none}:host([hidden]){display:none}:host(.x_ite-fullscreen){width:100vw !important;height:100vh !important}X3DCanvas>:not(.x_ite-private-browser,.x_ite-private-menu){display:none}.x_ite-private-browser{overflow:hidden;position:relative;outline:none;margin:0;border:0;border-radius:0;padding:0;width:100%;height:100%;-webkit-user-select:none;user-select:none}.x_ite-private-surface{outline:none;margin:0;border:0;border-radius:0;padding:0;height:100%}.x_ite-private-canvas{display:block;outline:none;margin:0;border:0;border-radius:0;padding:0;width:100%;height:100%}.x_ite-private-notification{position:absolute;top:20px;right:-4px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-background-clip:padding-box;background-clip:padding-box;border:4px solid rgba(60,60,60,.61803);border-radius:5px;padding:5px;color:#fff;font-family:PT Sans,sans-serif;font-size:10pt;letter-spacing:unset;line-height:1;white-space:pre;pointer-events:none}.x_ite-private-notification span{padding:0 24px 0 20px;background:url("assets/images/icon.bw.png") no-repeat 0 2px;image-rendering:pixelated}.x_ite-private-browser-timings{position:absolute;bottom:-4px;left:-4px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-background-clip:padding-box;background-clip:padding-box;border-top:4px solid rgba(60,60,60,.61803);border-right:4px solid rgba(60,60,60,.61803);border-radius:5px;padding:10px 15px 14px 14px;color:#fff;font-family:PT Sans,sans-serif;font-size:9pt;white-space:pre;pointer-events:none}.x_ite-private-browser-timings table,.x_ite-private-browser-timings thead,.x_ite-private-browser-timings tbody,.x_ite-private-browser-timings tfoot,.x_ite-private-browser-timings tr,.x_ite-private-browser-timings th,.x_ite-private-browser-timings td{box-sizing:border-box;outline:0;margin:0;border:0;border-radius:0;padding:0;background:none;color:#fff;font-size:inherit;font-weight:normal;font-style:normal;letter-spacing:unset;line-height:1;text-align:left}.x_ite-private-browser-timings table{overflow:hidden;background:url("assets/images/Time.png") no-repeat;image-rendering:pixelated;width:100%;max-width:100%;border-collapse:separate;border-spacing:2px;empty-cells:show}.x_ite-private-browser-timings thead th{padding-left:20px;padding-bottom:5px;font-weight:bold}.x_ite-private-browser-timings td:first-child{padding-right:10px}.x_ite-private-browser-timings table.more tr.x_ite-private-more td{padding-bottom:5px}.x_ite-private-browser-timings table.less tr.x_ite-private-more~tr{display:none}.x_ite-private-browser-timings td{padding-bottom:2px}.x_ite-private-browser-timings tfoot td:first-child{padding-right:0}.x_ite-private-browser-timings tfoot td{padding-top:4px}.x_ite-private-browser-timings button{box-sizing:border-box;border:0;border-radius:10px;width:100%;height:14pt;padding:0;background:rgba(0,0,0,.38196601);color:#fff;font-family:PT Sans,sans-serif;font-style:italic;font-size:9pt;letter-spacing:unset;line-height:1.1;text-align:center;pointer-events:all;cursor:pointer}.x_ite-private-world-info-overlay{position:absolute;top:0;right:0;bottom:0;left:0;inset:0}.x_ite-private-world-info{overflow-y:auto;position:absolute;top:0;right:0;bottom:0;left:0;inset:0;margin:21pt;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-background-clip:padding-box;background-clip:padding-box;border:4px solid rgba(60,60,60,.61803);border-radius:15px;padding:21pt}.x_ite-private-world-info .x_ite-private-world-info-top,.x_ite-private-world-info .x_ite-private-world-info-title,.x_ite-private-world-info .x_ite-private-world-info-info,.x_ite-private-world-info p{box-sizing:border-box;outline:0;margin:0;border:0;border-radius:0;padding:0;background:none;color:#fff;font-family:PT Sans,sans-serif;font-size:inherit;font-weight:inherit;font-style:normal;letter-spacing:unset;line-height:1.2;text-align:left}.x_ite-private-world-info .x_ite-private-world-info-top{font-weight:bold;font-style:italic;font-size:9pt}.x_ite-private-world-info .x_ite-private-world-info-title{margin:.3em 0 1em 0;font-weight:bold;font-size:21pt}.x_ite-private-world-info .x_ite-private-world-info-info,.x_ite-private-world-info .x_ite-private-world-info-info p{margin:1em 0 1em 0;font-size:14pt}.x_ite-private-world-info a{text-decoration:underline;color:#fd9f2e}.x_ite-private-menu.context-menu-layer{position:fixed;z-index:10000;top:0;right:0;bottom:0;left:0;inset:0}.x_ite-private-menu.context-menu-list,.x_ite-private-menu .context-menu-list{display:none;box-sizing:border-box;min-width:120px;margin:0;margin-left:1px;border:4px solid rgba(0,0,0,0);border-radius:5px;padding:5px 10px 9px 9px;color:#fff;font-family:PT Sans,sans-serif;font-size:10pt;white-space:pre;line-height:1.2;list-style-type:none}.x_ite-private-menu.context-menu-list{position:fixed;z-index:10000;isolation:isolate}.x_ite-private-menu .context-menu-list{position:absolute}.x_ite-private-menu .context-menu-list{top:-13px}.x_ite-private-menu .context-menu-background{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;box-sizing:border-box;min-width:120px;margin:0;margin-left:1px;border:4px solid rgba(60,60,60,.61803);border-radius:5px;padding:5px 10px 9px 9px;background:rgba(0,0,0,.61803);background:-moz-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:-webkit-linear-gradient(top, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);background:linear-gradient(to bottom, rgba(50, 50, 50, 0.61803) 0%, rgba(0, 0, 0, 0.61803) 100%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-background-clip:padding-box;background-clip:padding-box}.x_ite-private-menu .context-menu-item{cursor:pointer;position:relative;border-radius:5px;margin:0;font-size:10pt;line-height:1;letter-spacing:unset;text-align:left}.x_ite-private-menu .context-menu-item{margin:0 4px 0 4px}.x_ite-private-menu .context-menu-item:first-of-type{margin-top:4px}.x_ite-private-menu .context-menu-item:last-of-type{margin-bottom:4px}.x_ite-private-menu .context-menu-item:hover:not(.context-menu-not-selectable){background-color:rgba(255,69,58,.8)}.x_ite-private-menu .context-menu-item:hover>.context-menu-list{display:block}.x_ite-private-menu .context-menu-not-selectable{cursor:default}.x_ite-private-menu .context-menu-separator{cursor:default;margin:2px 0;border-top:0;border-bottom:1px solid #8a8a8a;padding-top:0;padding-bottom:0}.x_ite-private-menu .context-menu-separator+.context-menu-separator{display:none !important}.x_ite-private-menu .context-menu-submenu:after{content:"";position:absolute;display:block;right:0;top:8px;margin-right:2px;border-style:solid;border-width:4px 0 4px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #eee;width:0;height:0}.x_ite-private-menu .context-menu-item>span{display:block;width:100%;padding:5px 24px}.x_ite-private-menu .context-menu-input>label{cursor:pointer;display:block;box-sizing:border-box;margin:0;padding:5px 24px;width:100%;font-size:10pt;letter-spacing:unset;line-height:1}.x_ite-private-menu .context-menu-input>label>*{vertical-align:top;font-size:10pt;font-weight:normal;letter-spacing:unset;line-height:1}.x_ite-private-menu .context-menu-item>label>input{all:revert;cursor:pointer}.x_ite-private-menu .context-menu-input>label>input[type=checkbox],.x_ite-private-menu .context-menu-input>label>input[type=radio]{accent-color:#ff453a;display:inline;width:12px;margin:0;margin-left:-20px;padding:0}.x_ite-private-menu .context-menu-input>label>span{padding-left:8px}.x_ite-private-menu .context-menu-title{font-weight:bold}.x_ite-private-menu .context-menu-selected{font-weight:bold;font-style:italic}.x_ite-private-menu .context-menu-icon{background-repeat:no-repeat;background-position:2px 3px;image-rendering:pixelated}.x_ite-private-icon-viewpoint{background:url("assets/images/Viewpoint.png")}.x_ite-private-icon-examine-viewer{background:url("assets/images/ExamineViewer.png")}.x_ite-private-icon-walk-viewer{background:url("assets/images/WalkViewer.png")}.x_ite-private-icon-fly-viewer{background:url("assets/images/FlyViewer.png")}.x_ite-private-icon-lookat-viewer{background:url("assets/images/gtk-zoom-in.png")}.x_ite-private-icon-plane-viewer{background:url("assets/images/PlaneViewer.png")}.x_ite-private-icon-none-viewer{background:url("assets/images/NoneViewer.png")}.x_ite-private-icon-zoom-fit{background:url("assets/images/gtk-zoom-fit.png")}.x_ite-private-icon-zoom-in{background:url("assets/images/gtk-zoom-in.png")}.x_ite-private-icon-primitive-quality{background:url("assets/images/PrimitiveQuality.png")}.x_ite-private-icon-texture-quality{background:url("assets/images/TextureQuality.png")}.x_ite-private-icon-shading{background:url("assets/images/Shading.png")}.x_ite-private-icon-enter-fullscreen{background:url("assets/images/gtk-fullscreen.png")}.x_ite-private-icon-leave-fullscreen{background:url("assets/images/gtk-leave-fullscreen.png")}.x_ite-private-icon-world-info{background:url("assets/images/go-next.png")}.x_ite-private-icon-help-about{background:url("assets/images/help-about.png")}.x_ite-private-splash-screen{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;inset:0;background:#1b1d21;background:-moz-radial-gradient(center, ellipse cover, #2f3135 0%, #1b1d21 100%);background:-webkit-radial-gradient(center, ellipse cover, #2f3135 0%, #1b1d21 100%);background:radial-gradient(ellipse at center, #2f3135 0%, #1b1d21 100%)}.x_ite-private-spinner{position:absolute;top:calc(50% - 69px);left:calc(50% - 67px);width:138px;height:134px;background:url("assets/images/logo.128.png") no-repeat;image-rendering:optimizeQuality;-webkit-animation:spinner-animation-spin 32s linear infinite;-moz-animation:spinner-animation-spin 32s linear infinite;animation:spinner-animation-spin 32s linear infinite}@-moz-keyframes spinner-animation-spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spinner-animation-spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spinner-animation-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.x_ite-private-progress{position:absolute;top:calc(50% - 28pt - 11pt);left:calc(50% - 100px);width:200px}.x_ite-private-x_ite{color:#fff;font-size:28pt;text-align:center;text-shadow:1px 1px 0 #000;font-family:PT Sans,sans-serif}.x_ite-private-x_ite span.x_ite-private-x3d{font-weight:bold}.x_ite-private-spinner-text{color:#fff;font-size:11pt;text-align:center;text-shadow:1px 1px 0 #000;font-family:PT Sans,sans-serif}.x_ite-private-progressbar{margin:8px;border-left:2px solid hsla(0,0%,100%,.5);border-right:2px solid hsla(0,0%,100%,.5);padding:0 2px;text-align:left}.x_ite-private-progressbar div{width:0%;height:6px;background:hsla(0,0%,100%,.5)}.x_ite-private-xr-button{position:absolute;right:10px;bottom:10px;width:32px;height:18px;background:url("assets/images/XR.svg");opacity:.6;cursor:pointer}
package/dist/x_ite.d.ts CHANGED
@@ -61,26 +61,26 @@ declare namespace X3D
61
61
  /**
62
62
  * This section lists the methods available in the *browser* object, which allows scripts to get and set browser information.
63
63
  */
64
- class X3DBrowser
64
+ class X3DBrowser extends X3DObject
65
65
  {
66
66
  /**
67
- * A browser-implementation specific string describing the browser.
67
+ * A browser-implementation specific string describing the browser. This property is read only.
68
68
  */
69
69
  readonly name: string;
70
70
  /**
71
- * A browser-implementation specific string describing the browser version.
71
+ * A browser-implementation specific string describing the browser version. This property is read only.
72
72
  */
73
73
  readonly version: string;
74
74
  /**
75
- * If provided, the URL to the entity that wrote this browser.
75
+ * If provided, the URL to the entity that wrote this browser. This property is read only.
76
76
  */
77
77
  readonly providerURL: string;
78
78
  /**
79
- * The current speed of the avatar in m/s.
79
+ * The current speed of the avatar in m/s. This property is read only.
80
80
  */
81
81
  readonly currentSpeed: number;
82
82
  /**
83
- * The current frame rate in frames per second.
83
+ * The current frame rate in frames per second. This property is read only.
84
84
  */
85
85
  readonly currentFrameRate: number;
86
86
  /**
@@ -88,49 +88,49 @@ declare namespace X3D
88
88
  */
89
89
  description: string;
90
90
  /**
91
- * Returns the list of all profiles that are supported by this browser.
91
+ * Returns the list of all profiles that are supported by this browser. This property is read only.
92
92
  */
93
93
  readonly supportedProfiles: ProfileInfoArray;
94
94
  /**
95
- * Returns a list of all components that are supported by this browser.
95
+ * Returns a list of all components that are supported by this browser. This property is read only.
96
96
  */
97
97
  readonly supportedComponents: ComponentInfoArray;
98
98
  /**
99
- * Returns a list of all concrete node classes that are supported by this browser.
99
+ * Returns a list of all concrete node classes that are supported by this browser. This property is read only.
100
100
  */
101
101
  readonly concreteNodes: ConcreteNodesArray;
102
102
  /**
103
- * Returns a list of all abstract node classes that are supported by this browser.
103
+ * Returns a list of all abstract node classes that are supported by this browser. This property is read only.
104
104
  */
105
105
  readonly abstractNodes: AbstractNodesArray;
106
106
  /**
107
- * Returns a list of all field type classes that are supported by this browser.
107
+ * Returns a list of all field type classes that are supported by this browser. This property is read only.
108
108
  */
109
109
  readonly fieldTypes: FieldTypesArray;
110
110
  /**
111
- * A String value containing the URL against which relative URLs are resolved. By default, this is the address of the web page itself. Although this feature is rarely needed, it can be useful when loading a `data:` or `blob:` URL with `Browser.loadURL`, or when using `Browser.createX3DFromString`. The value of *baseURL* will only be used with the external browser.
111
+ * A String value which can be read and written, containing the URL against which relative URLs are resolved. By default, this is the address of the web page itself. Although this feature is rarely needed, it can be useful when loading a `data:` or `blob:` URL with `Browser.loadURL`, or when using `Browser.createX3DFromString`. The value of *baseURL* will only be used with the external browser.
112
112
  */
113
113
  baseURL: string;
114
114
  /**
115
- * The real type of this class is dependent on whether the user code is inside a prototype instance or not. If the user code is inside a prototype instance the property represent an X3DExecutionContext otherwise it represent an X3DScene.
115
+ * The real type of this class is dependent on whether the user code is inside a prototype instance or not. If the user code is inside a prototype instance the property represent an X3DExecutionContext otherwise it represent an X3DScene. This property is read only.
116
116
  */
117
117
  readonly currentScene: X3DScene;
118
- /**
119
- * Returns a reference to the corresponding X3DCanvasElement.
120
- */
121
- readonly element: X3DCanvasElement;
122
118
  /*
123
- * Returns the active layer.
119
+ * Returns the active layer, if any. The active layer is the layer on which navigation takes place. This property is read only.
124
120
  */
125
121
  readonly activeLayer: X3DLayerNodeProxy | null;
126
122
  /*
127
- * Returns the active navigation info in the active layer.
123
+ * Returns the bound NavigationInfo node in the active layer, if any. This property is read only.
128
124
  */
129
125
  readonly activeNavigationInfo: NavigationInfoProxy | null;
130
126
  /*
131
- * Returns the active viewpoint in the active layer.
127
+ * Returns the bound X3DViewpointNode in the active layer, if any. This property is read only.
132
128
  */
133
129
  readonly activeViewpoint: X3DViewpointNodeProxy | null;
130
+ /**
131
+ * Returns a reference to the corresponding X3DCanvasElement. This property is read only.
132
+ */
133
+ readonly element: X3DCanvasElement;
134
134
  /**
135
135
  * The `getSupportedProfile` service returns a ProfileInfo object of the named profile from the `supportedProfiles` array. The parameter is the name of a profile from which to fetch the declaration. The browser only returns a ProfileInfo object if it supports the named profile. If it does not support the named profile, an error is thrown.
136
136
  */
@@ -182,7 +182,7 @@ declare namespace X3D
182
182
  /**
183
183
  * Imports an X3D JSON document or fragment, converts it, and returns a Promise that resolves to an X3DScene object.
184
184
  */
185
- importJS (json: string | JSONObject): Promise <X3DScene>;
185
+ importJS (json: JSONObject | string): Promise <X3DScene>;
186
186
  /**
187
187
  * Returns a browser property with the corresponding *name*.
188
188
  */
@@ -209,8 +209,8 @@ declare namespace X3D
209
209
  * - X3DConstants .SHUTDOWN_EVENT
210
210
  * - X3DConstants .INITIALIZED_ERROR
211
211
  */
212
- addBrowserCallback (key: any, callback?: (event: number) => void): void;
213
- addBrowserCallback (key: any, event: number, callback?: (event: number) => void): void;
212
+ addBrowserCallback (key: any, callback: (event: number) => void): void;
213
+ addBrowserCallback (key: any, event: number, callback: (event: number) => void): void;
214
214
  /**
215
215
  * Removes a browser callback function associated with *key* and *event*. If *event* is omitted, all callback associated whit key are removed.
216
216
  */
@@ -264,10 +264,6 @@ declare namespace X3D
264
264
  * For *options* see `X3DScene.toVRMLString`.
265
265
  */
266
266
  toJSONString (options?: ToStringOptions): string;
267
- /**
268
- * Disposes this object.
269
- */
270
- dispose (): void;
271
267
 
272
268
  // VRML methods
273
269
 
@@ -557,16 +553,12 @@ declare namespace X3D
557
553
  * For *options* see `X3DScene.toVRMLString`.
558
554
  */
559
555
  toJSONString (options?: ToStringOptions): string;
560
- /**
561
- * Disposes this object.
562
- */
563
- dispose (): void;
564
556
  }
565
557
 
566
558
  /**
567
559
  * This section lists the methods available in the X3DExecutionContext object, which allows scripts to get access to the scene graph.
568
560
  */
569
- class X3DExecutionContext
561
+ class X3DExecutionContext extends X3DObject
570
562
  {
571
563
  /**
572
564
  * The string represent the basic specification version used by the parsed file in decimal format. For example, a scene conforming to this specification returns a value such as "4.0". This property is read only.
@@ -577,7 +569,7 @@ declare namespace X3D
577
569
  */
578
570
  readonly encoding: "ASCII" | "VRML" | "XML" | "JSON" | "BINARY" | "SCRIPTED" | "BIFS" | "NONE" | "GLTF" | "OBJ" | "STL" | "PLY" | "SVG";
579
571
  /**
580
- * A reference to the ProfileInfo object used by this execution context. This property is read only.
572
+ * A reference to the ProfileInfo object used by this execution context. A value of `null` implies profile `Full`. This property is read only.
581
573
  */
582
574
  readonly profile: ProfileInfo | null;
583
575
  /**
@@ -740,7 +732,7 @@ declare namespace X3D
740
732
  /**
741
733
  * This object stores information about a particular X3D profile.
742
734
  */
743
- class ProfileInfo
735
+ class ProfileInfo extends X3DObject
744
736
  {
745
737
  /**
746
738
  * A string of the formal name of this profile. This property is read only.
@@ -768,7 +760,7 @@ declare namespace X3D
768
760
  /**
769
761
  * The ComponentInfo object stores information about a particular X3D component. The object consists solely of read-only properties. It does not define any additional functions.
770
762
  */
771
- class ComponentInfo
763
+ class ComponentInfo extends X3DObject
772
764
  {
773
765
  /**
774
766
  * A string of the formal name of this profile. This property is read only.
@@ -796,7 +788,7 @@ declare namespace X3D
796
788
  /**
797
789
  * The UnitInfo object stores information about a particular unit declaration. The object consists solely of read-only properties. It does not define any additional functions.
798
790
  */
799
- class UnitInfo
791
+ class UnitInfo extends X3DObject
800
792
  {
801
793
  /**
802
794
  * The category of default unit being modified as defined in the table. This property is read only.
@@ -825,7 +817,7 @@ declare namespace X3D
825
817
  /**
826
818
  * The X3DImportedNode object stores information about a particular import declaration. The object consists solely of read-only properties. It does not define any additional functions.
827
819
  */
828
- class X3DImportedNode
820
+ class X3DImportedNode extends X3DObject
829
821
  {
830
822
  /**
831
823
  * The SFNode object of the Inline node. This property is read only.
@@ -853,7 +845,7 @@ declare namespace X3D
853
845
  /**
854
846
  * The X3DExportedNode object stores information about a particular export declaration. The object consists solely of read-only properties. It does not define any additional functions.
855
847
  */
856
- class X3DExportedNode
848
+ class X3DExportedNode extends X3DObject
857
849
  {
858
850
  /**
859
851
  * A string of the exported name. This property is read only.
@@ -873,7 +865,7 @@ declare namespace X3D
873
865
  /**
874
866
  * A PROTO declaration is represented by the X3DProtoDeclaration object. This object can only be fetched using the X3DExecutionContext object.
875
867
  */
876
- class X3DProtoDeclaration
868
+ class X3DProtoDeclaration extends X3DObject
877
869
  {
878
870
  /**
879
871
  * A string of the declared name of this prototype. This property is read only.
@@ -920,7 +912,7 @@ declare namespace X3D
920
912
  /**
921
913
  * An EXTERNPROTO declaration is represented by the X3DExternProtoDeclaration object. EXTERNPROTO declarations can only be fetched using the X3DExecutionContext object.
922
914
  */
923
- class X3DExternProtoDeclaration
915
+ class X3DExternProtoDeclaration extends X3DObject
924
916
  {
925
917
  /**
926
918
  * A string of the declared name of this extern prototype. This property is read only.
@@ -979,7 +971,7 @@ declare namespace X3D
979
971
  /**
980
972
  * Routes are represented by the X3DRoute object. Routes can only be created through calls to the addRoute () function of X3DExecutionContext.
981
973
  */
982
- class X3DRoute
974
+ class X3DRoute extends X3DObject
983
975
  {
984
976
  /**
985
977
  * A reference to the node that is the source of this route.
@@ -999,7 +991,7 @@ declare namespace X3D
999
991
  readonly destinationField: string;
1000
992
  }
1001
993
 
1002
- class X3DInfoArray <T>
994
+ class X3DInfoArray <T> extends X3DObject
1003
995
  {
1004
996
  [Symbol .iterator](): IterableIterator <T>;
1005
997
  readonly [index: number]: T;
@@ -1463,7 +1455,7 @@ declare namespace X3D
1463
1455
  /**
1464
1456
  * The X3DFieldDefinition object represents all of the descriptive properties of a single field of a node.
1465
1457
  */
1466
- class X3DFieldDefinition
1458
+ class X3DFieldDefinition extends X3DObject
1467
1459
  {
1468
1460
  /**
1469
1461
  * Value from the X3DConstants object describing the accessType (e.g., "X3DConstants.inputOnly"). This property is read only.
@@ -1486,7 +1478,7 @@ declare namespace X3D
1486
1478
  /**
1487
1479
  * The X3DField object is the base object of all SF* field and X3DArrayField.
1488
1480
  */
1489
- class X3DField
1481
+ class X3DField extends X3DObject
1490
1482
  {
1491
1483
  /**
1492
1484
  * Returns a copy of this X3DField.
@@ -1528,10 +1520,6 @@ declare namespace X3D
1528
1520
  addRouteCallback (key: any, callback: () => void): void;
1529
1521
  removeRouteCallback (key: any): void;
1530
1522
  getRouteCallbacks (): Map <any, () => void>;
1531
- /**
1532
- * Disposes this object.
1533
- */
1534
- dispose (): void;
1535
1523
  }
1536
1524
 
1537
1525
  /**
@@ -1830,6 +1818,26 @@ declare namespace X3D
1830
1818
  * Returns a SFVec2d/f whose value is the object's 2×2 submatrix multiplied by the passed column vector.
1831
1819
  */
1832
1820
  multMatrixDir <T extends SFVec2d | SFVec2f> (col: T): T;
1821
+ /**
1822
+ * Returns a SFMatrix3d/f whose value is the object translated by the passed *translation* on the left.
1823
+ */
1824
+ translate <T extends SFVec2d | SFVec2f> (translation: T): this;
1825
+ /**
1826
+ * Returns a SFMatrix3d/f whose value is the object rotated by the passed *rotation* (in radians) on the left.
1827
+ */
1828
+ rotate (rotation: number): this;
1829
+ /**
1830
+ * Returns a SFMatrix3d/f whose value is the object scaled by the passed *scale* on the left.
1831
+ */
1832
+ scale <T extends SFVec2d | SFVec2f> (scale: T): this;
1833
+ /**
1834
+ * Returns a SFMatrix3d/f whose value is the object skewed by the passed *angle* (in radians) on the left.
1835
+ */
1836
+ skewX (angle: number): this;
1837
+ /**
1838
+ * Returns a SFMatrix3d/f whose value is the object skewed by the passed *angle* (in radians) on the left.
1839
+ */
1840
+ skewY (angle: number): this;
1833
1841
  }
1834
1842
 
1835
1843
  /**
@@ -1930,6 +1938,18 @@ declare namespace X3D
1930
1938
  * Returns a SFVec3d/f whose value is the object's 3×3 submatrix multiplied by the passed column vector.
1931
1939
  */
1932
1940
  multMatrixDir <T extends SFVec3d | SFVec3f> (col: T): T;
1941
+ /**
1942
+ * Returns a SFMatrix4d/f whose value is the object translated by the passed *translation* on the left.
1943
+ */
1944
+ translate <T extends SFVec3d | SFVec3f> (translation: T): this;
1945
+ /**
1946
+ * Returns a SFMatrix4d/f whose value is the object rotated by the passed *rotation* on the left.
1947
+ */
1948
+ rotate (rotation: SFRotation): this;
1949
+ /**
1950
+ * Returns a SFMatrix4d/f whose value is the object scaled by the passed *scale* on the left.
1951
+ */
1952
+ scale <T extends SFVec3d | SFVec3f> (scale: T): this;
1933
1953
  }
1934
1954
 
1935
1955
  /**
@@ -2192,6 +2212,10 @@ declare namespace X3D
2192
2212
  * Returns an SFVec2d/f whose value is the passed SFVec2d/f added, componentwise, to the object.
2193
2213
  */
2194
2214
  add (other: this): this;
2215
+ /**
2216
+ * Returns the elements of this object constrained to the range *low* to *high*. The returned value is computed as `min(max(x, low), high)`.
2217
+ */
2218
+ clamp (low: this, high: this): this;
2195
2219
  /**
2196
2220
  * Returns the distance of this vector to SFVec2d/f *other*.
2197
2221
  */
@@ -2304,6 +2328,10 @@ declare namespace X3D
2304
2328
  * Returns an SFVec3d/f whose value is the passed SFVec3d/f added, componentwise, to the object.
2305
2329
  */
2306
2330
  add (other: this): this;
2331
+ /**
2332
+ * Returns the elements of this object constrained to the range *low* to *high*. The returned value is computed as `min(max(x, low), high)`.
2333
+ */
2334
+ clamp (low: this, high: this): this;
2307
2335
  /**
2308
2336
  * Returns the cross product of the object and the passed SFVec3d/f *other*.
2309
2337
  */
@@ -2424,6 +2452,10 @@ declare namespace X3D
2424
2452
  * Returns an SFVec4d/f whose value is the passed SFVec4d/f added, componentwise, to the object.
2425
2453
  */
2426
2454
  add (other: this): this;
2455
+ /**
2456
+ * Returns the elements of this object constrained to the range *low* to *high*. The returned value is computed as `min(max(x, low), high)`.
2457
+ */
2458
+ clamp (low: this, high: this): this;
2427
2459
  /**
2428
2460
  * Returns the distance of this vector to SFVec4d/f *other*.
2429
2461
  */
@@ -2498,6 +2530,9 @@ declare namespace X3D
2498
2530
  static readonly typeName: "SFVec4f";
2499
2531
  }
2500
2532
 
2533
+ /**
2534
+ * The X3DArrayField object is the base object of all MF* objects. It is used to store a one-dimensional array of the corresponding SF* objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. X3D*ArrayFieldObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to 0.0.
2535
+ */
2501
2536
  class X3DArrayField <T> extends X3DField
2502
2537
  {
2503
2538
  /**
@@ -2550,111 +2585,189 @@ declare namespace X3D
2550
2585
  type ArrayAction <T> = (element: T, i: number, array: X3DArrayField <T>) => void
2551
2586
  type ArrayReducer <T, U> = (accum: U, current: T, i: number, array: X3DArrayField <T>) => U
2552
2587
 
2588
+ /**
2589
+ * The MFBool object corresponds to an X3D MFBool field. It is used to store a one-dimensional array of SFBool objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfBoolObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `false`.
2590
+ */
2553
2591
  class MFBool extends X3DArrayField <boolean>
2554
2592
  {
2555
2593
  static readonly typeName: "MFBool";
2556
2594
  }
2557
2595
 
2596
+ /**
2597
+ * The MFColor/MFColorRGBA object corresponds to an X3D MFColor/MFColorRGBA field. It is used to store a one-dimensional array of SFColor/SFColorRGBA objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfColorObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index* length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFColor (0, 0, 0)` or `SFColorRGBA (0, 0, 0, 0)`.
2598
+ */
2558
2599
  class MFColor extends X3DArrayField <SFColor>
2559
2600
  {
2560
2601
  static readonly typeName: "MFColor";
2561
2602
  }
2562
2603
 
2604
+ /**
2605
+ * The MFColor/MFColorRGBA object corresponds to an X3D MFColor/MFColorRGBA field. It is used to store a one-dimensional array of SFColor/SFColorRGBA objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfColorObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index* length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFColor (0, 0, 0)` or `SFColorRGBA (0, 0, 0, 0)`.
2606
+ */
2563
2607
  class MFColorRGBA extends X3DArrayField <SFColorRGBA>
2564
2608
  {
2565
2609
  static readonly typeName: "MFColorRGBA";
2566
2610
  }
2567
2611
 
2612
+ /**
2613
+ * The MFDouble/MFFloat object corresponds to an X3D MFDouble/MFFloat field. It is used to store a one-dimensional array of SFFloat objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfFloatObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `0.0`.
2614
+ */
2568
2615
  class MFDouble extends X3DArrayField <number>
2569
2616
  {
2570
2617
  static readonly typeName: "MFDouble";
2571
2618
  }
2572
2619
 
2620
+ /**
2621
+ * The MFDouble/MFFloat object corresponds to an X3D MFDouble/MFFloat field. It is used to store a one-dimensional array of SFFloat objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfFloatObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `0.0`.
2622
+ */
2573
2623
  class MFFloat extends X3DArrayField <number>
2574
2624
  {
2575
2625
  static readonly typeName: "MFFloat";
2576
2626
  }
2577
2627
 
2628
+ /**
2629
+ * The MFImage object corresponds to an X3D MFImage field. It is used to store a one-dimensional array of SFImage objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfImageObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFImage (0, 0, 0)`.
2630
+ */
2578
2631
  class MFImage extends X3DArrayField <SFImage>
2579
2632
  {
2580
2633
  static readonly typeName: "MFImage";
2581
2634
  }
2582
2635
 
2636
+ /**
2637
+ * The MFInt32 object corresponds to an X3D MFInt32 field. It is used to store a one-dimensional array of SFInt32 objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfInt32ObjectName*[*index]*, where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `0`.
2638
+ */
2583
2639
  class MFInt32 extends X3DArrayField <number>
2584
2640
  {
2585
2641
  static readonly typeName: "MFInt32";
2586
2642
  }
2587
2643
 
2644
+ /**
2645
+ * The MFMatrix3d/f object corresponds to an X3D MFMatrix3d/f field. It is used to store a one-dimensional array of SFMatrix3d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfMatrix3d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to the identity matrix.
2646
+ */
2588
2647
  class MFMatrix3d extends X3DArrayField <SFMatrix3d>
2589
2648
  {
2590
2649
  static readonly typeName: "MFMatrix3d";
2591
2650
  }
2592
2651
 
2652
+ /**
2653
+ * The MFMatrix3d/f object corresponds to an X3D MFMatrix3d/f field. It is used to store a one-dimensional array of SFMatrix3d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfMatrix3d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to the identity matrix.
2654
+ */
2593
2655
  class MFMatrix3f extends X3DArrayField <SFMatrix3f>
2594
2656
  {
2595
2657
  static readonly typeName: "MFMatrix3f";
2596
2658
  }
2597
2659
 
2660
+ /**
2661
+ * The MFMatrix4d/f object corresponds to an X3D MFMatrix4d/f field. It is used to store a one-dimensional array of SFMatrix4d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfMatrix4d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to the identity matrix.
2662
+ */
2598
2663
  class MFMatrix4d extends X3DArrayField <SFMatrix4d>
2599
2664
  {
2600
2665
  static readonly typeName: "MFMatrix4d";
2601
2666
  }
2602
2667
 
2668
+ /**
2669
+ * The MFMatrix4d/f object corresponds to an X3D MFMatrix4d/f field. It is used to store a one-dimensional array of SFMatrix4d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfMatrix4d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to the identity matrix.
2670
+ */
2603
2671
  class MFMatrix4f extends X3DArrayField <SFMatrix4f>
2604
2672
  {
2605
2673
  static readonly typeName: "MFMatrix4f";
2606
2674
  }
2607
2675
 
2676
+ /**
2677
+ * The MFNode object corresponds to an X3D MFNode field. It is used to store a one-dimensional array of SFNode objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfNodeObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `null`.
2678
+ */
2608
2679
  class MFNode <T extends SFNode | null = SFNode | null> extends X3DArrayField <T>
2609
2680
  {
2610
2681
  static readonly typeName: "MFNode";
2611
2682
  }
2612
2683
 
2684
+ /**
2685
+ * The MFRotation object corresponds to an X3D MFRotation field. It is used to store a one-dimensional array of SFRotation objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfRotationObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFRotation (0, 0, 1, 0)`.
2686
+ */
2613
2687
  class MFRotation extends X3DArrayField <SFRotation>
2614
2688
  {
2615
2689
  static readonly typeName: "MFRotation";
2616
2690
  }
2617
2691
 
2692
+ /**
2693
+ * The MFString object corresponds to an X3D MFString field. It is used to store a one-dimensional array of String objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfStringObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to the empty string.
2694
+ */
2618
2695
  class MFString <T extends string = string> extends X3DArrayField <T>
2619
2696
  {
2620
2697
  static readonly typeName: "MFString";
2621
2698
  }
2622
2699
 
2700
+ /**
2701
+ * The MFTime object corresponds to an X3D MFTime field. It is used to store a one-dimensional array of SFTime objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfTimeObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `0.0`.
2702
+ */
2623
2703
  class MFTime extends X3DArrayField <number>
2624
2704
  {
2625
2705
  static readonly typeName: "MFTime";
2626
2706
  }
2627
2707
 
2708
+ /**
2709
+ * The MFVec2d/f object corresponds to an X3D MFVec2d/f field. It is used to store a one-dimensional array of SFVec2d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfVec2d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFVec2d/f (0, 0)`.
2710
+ */
2628
2711
  class MFVec2d extends X3DArrayField <SFVec2d>
2629
2712
  {
2630
2713
  static readonly typeName: "MFVec2d";
2631
2714
  }
2632
2715
 
2716
+ /**
2717
+ * The MFVec2d/f object corresponds to an X3D MFVec2d/f field. It is used to store a one-dimensional array of SFVec2d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfVec2d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFVec2d/f (0, 0)`.
2718
+ */
2633
2719
  class MFVec2f extends X3DArrayField <SFVec2f>
2634
2720
  {
2635
2721
  static readonly typeName: "MFVec2f";
2636
2722
  }
2637
2723
 
2724
+ /**
2725
+ * The MFVec3d/f object corresponds to an X3D MFVec3d/f field. It is used to store a one-dimensional array of SFVec3d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfVec3d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFVec3d/f (0, 0, 0)`.
2726
+ */
2638
2727
  class MFVec3d extends X3DArrayField <SFVec3d>
2639
2728
  {
2640
2729
  static readonly typeName: "MFVec3d";
2641
2730
  }
2642
2731
 
2732
+ /**
2733
+ * The MFVec3d/f object corresponds to an X3D MFVec3d/f field. It is used to store a one-dimensional array of SFVec3d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfVec3d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFVec3d/f (0, 0, 0)`.
2734
+ */
2643
2735
  class MFVec3f extends X3DArrayField <SFVec3f>
2644
2736
  {
2645
2737
  static readonly typeName: "MFVec3f";
2646
2738
  }
2647
2739
 
2740
+ /**
2741
+ * The MFVec4d/f object corresponds to an X3D MFVec4d/f field. It is used to store a one-dimensional array of SFVec4d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfVec4d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFVec4d/f (0, 0, 0, 0)`.
2742
+ */
2648
2743
  class MFVec4d extends X3DArrayField <SFVec4d>
2649
2744
  {
2650
2745
  static readonly typeName: "MFVec4d";
2651
2746
  }
2652
2747
 
2748
+ /**
2749
+ * The MFVec4d/f object corresponds to an X3D MFVec4d/f field. It is used to store a one-dimensional array of SFVec4d/f objects. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g. *mfVec4d/fObjectName*[*index*], where *index* is an integer-valued expression with 0<=*index*<length and length is the number of elements in the array). Assigning to an element with *index* > length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to `SFVec4d/f (0, 0, 0, 0)`.
2750
+ */
2653
2751
  class MFVec4f extends X3DArrayField <SFVec4f>
2654
2752
  {
2655
2753
  static readonly typeName: "MFVec4f";
2656
2754
  }
2657
2755
 
2756
+ /**
2757
+ * Base class for all X3D classes.
2758
+ */
2759
+ class X3DObject
2760
+ {
2761
+ /**
2762
+ * Returns the type name of this object.
2763
+ */
2764
+ getTypeName (): string;
2765
+ /**
2766
+ * Disposes this object.
2767
+ */
2768
+ dispose (): void;
2769
+ }
2770
+
2658
2771
  // NODES START
2659
2772
  // DO NOT EDIT THIS SECTION, THIS SECTION IS AUTOMATICALLY GENERATED.
2660
2773