x_ite 8.6.11 → 8.6.13
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.
- package/dist/LICENSE.md +4 -4
- package/dist/assets/components/Annotation.js +37 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +45 -45
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +37 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +37 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +37 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +51 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +77 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +42 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +16 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +68 -42
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +80 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +176 -26
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +152 -22
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +88 -76
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +32 -28
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +32 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +22 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +62 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +71 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +13 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1450 -971
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/_posts/components/Core/WorldInfo.md +1 -1
- package/docs/_posts/components/EnvironmentalEffects/Background.md +1 -1
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +1 -1
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +1 -1
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +1 -1
- package/docs/_posts/components/Geometry3D/Box.md +1 -1
- package/docs/_posts/components/Geometry3D/Cone.md +1 -1
- package/docs/_posts/components/Geometry3D/Cylinder.md +1 -1
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +1 -1
- package/docs/_posts/components/Geometry3D/Extrusion.md +1 -1
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +2 -2
- package/docs/_posts/components/Geometry3D/Sphere.md +1 -1
- package/docs/_posts/components/Grouping/Group.md +1 -1
- package/docs/_posts/components/Grouping/Switch.md +1 -1
- package/docs/_posts/components/Grouping/Transform.md +1 -1
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +1 -1
- package/docs/_posts/components/Lighting/DirectionalLight.md +5 -5
- package/docs/_posts/components/Lighting/EnvironmentLight.md +4 -4
- package/docs/_posts/components/Lighting/PointLight.md +5 -5
- package/docs/_posts/components/Lighting/SpotLight.md +5 -5
- package/docs/_posts/components/Navigation/Billboard.md +1 -1
- package/docs/_posts/components/Navigation/Collision.md +1 -1
- package/docs/_posts/components/Navigation/LOD.md +1 -1
- package/docs/_posts/components/Navigation/NavigationInfo.md +1 -1
- package/docs/_posts/components/Navigation/Viewpoint.md +1 -1
- package/docs/_posts/components/Networking/Anchor.md +1 -1
- package/docs/_posts/components/Networking/Inline.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +1 -1
- package/docs/_posts/components/Rendering/Color.md +1 -1
- package/docs/_posts/components/Rendering/Coordinate.md +1 -1
- package/docs/_posts/components/Rendering/IndexedLineSet.md +2 -2
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +1 -1
- package/docs/_posts/components/Rendering/Normal.md +1 -1
- package/docs/_posts/components/Rendering/PointSet.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +3 -3
- package/docs/_posts/components/Scripting/Script.md +1 -1
- package/docs/_posts/components/Shape/Appearance.md +1 -1
- package/docs/_posts/components/Shape/Material.md +1 -9
- package/docs/_posts/components/Shape/PhysicalMaterial.md +0 -8
- package/docs/_posts/components/Shape/Shape.md +1 -1
- package/docs/_posts/components/Shape/UnlitMaterial.md +0 -8
- package/docs/_posts/components/Sound/AudioClip.md +1 -1
- package/docs/_posts/components/Sound/Sound.md +1 -1
- package/docs/_posts/components/Text/FontStyle.md +1 -1
- package/docs/_posts/components/Text/Text.md +1 -1
- package/docs/_posts/components/Texturing/ImageTexture.md +1 -5
- package/docs/_posts/components/Texturing/MovieTexture.md +1 -5
- package/docs/_posts/components/Texturing/PixelTexture.md +1 -1
- package/docs/_posts/components/Texturing/TextureCoordinate.md +1 -1
- package/docs/_posts/components/Texturing/TextureTransform.md +1 -1
- package/docs/_posts/components/Time/TimeSensor.md +1 -1
- package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
- package/docs/_posts/getting-started.md +8 -3
- package/docs/_posts/reference/browser-services.md +1 -1
- package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +16 -99
- package/docs/_posts/what's-new.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +1 -1
- package/package.json +3 -3
- package/src/lib/jquery.js +6 -1
- package/src/standard/Math/Geometry/Box3.js +2 -5
- package/src/tests.js +2 -0
- package/src/x_ite/Base/X3DBaseNode.js +8 -0
- package/src/x_ite/Base/X3DObject.js +14 -1
- package/src/x_ite/Browser/Core/BrowserOptions.js +27 -29
- package/src/x_ite/Browser/Core/BrowserTimings.js +2 -16
- package/src/x_ite/Browser/Core/X3DCoreContext.js +6 -3
- package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +9 -15
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +3 -3
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +20 -15
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +3 -3
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +2 -2
- package/src/x_ite/Browser/X3DBrowserContext.js +21 -12
- package/src/x_ite/Components/Annotation/AnnotationLayer.js +4 -0
- package/src/x_ite/Components/Annotation/AnnotationTarget.js +4 -0
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +4 -0
- package/src/x_ite/Components/Annotation/IconAnnotation.js +4 -0
- package/src/x_ite/Components/Annotation/TextAnnotation.js +4 -0
- package/src/x_ite/Components/Annotation/URLAnnotation.js +4 -0
- package/src/x_ite/Components/CADGeometry/CADAssembly.js +4 -0
- package/src/x_ite/Components/CADGeometry/CADFace.js +12 -32
- package/src/x_ite/Components/CADGeometry/CADLayer.js +4 -0
- package/src/x_ite/Components/CADGeometry/CADPart.js +4 -0
- package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +4 -0
- package/src/x_ite/Components/CADGeometry/QuadSet.js +4 -0
- package/src/x_ite/Components/Core/MetadataBoolean.js +4 -0
- package/src/x_ite/Components/Core/MetadataDouble.js +4 -0
- package/src/x_ite/Components/Core/MetadataFloat.js +4 -0
- package/src/x_ite/Components/Core/MetadataInteger.js +4 -0
- package/src/x_ite/Components/Core/MetadataSet.js +4 -0
- package/src/x_ite/Components/Core/MetadataString.js +4 -0
- package/src/x_ite/Components/Core/WorldInfo.js +4 -0
- package/src/x_ite/Components/Core/X3DNode.js +1 -1
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +4 -1
- package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +4 -0
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +4 -0
- package/src/x_ite/Components/DIS/DISEntityManager.js +4 -0
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +4 -0
- package/src/x_ite/Components/DIS/EspduTransform.js +4 -0
- package/src/x_ite/Components/DIS/ReceiverPdu.js +4 -0
- package/src/x_ite/Components/DIS/SignalPdu.js +4 -0
- package/src/x_ite/Components/DIS/TransmitterPdu.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/Background.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/Fog.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +4 -0
- package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +4 -0
- package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +4 -0
- package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +4 -0
- package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanFilter.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanToggle.js +4 -0
- package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +4 -0
- package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +4 -0
- package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +4 -0
- package/src/x_ite/Components/EventUtilities/TimeTrigger.js +4 -0
- package/src/x_ite/Components/Followers/ColorChaser.js +4 -0
- package/src/x_ite/Components/Followers/ColorDamper.js +4 -0
- package/src/x_ite/Components/Followers/CoordinateChaser.js +4 -0
- package/src/x_ite/Components/Followers/CoordinateDamper.js +4 -0
- package/src/x_ite/Components/Followers/OrientationChaser.js +4 -0
- package/src/x_ite/Components/Followers/OrientationDamper.js +4 -0
- package/src/x_ite/Components/Followers/PositionChaser.js +4 -0
- package/src/x_ite/Components/Followers/PositionChaser2D.js +4 -0
- package/src/x_ite/Components/Followers/PositionDamper.js +4 -0
- package/src/x_ite/Components/Followers/PositionDamper2D.js +4 -0
- package/src/x_ite/Components/Followers/ScalarChaser.js +4 -0
- package/src/x_ite/Components/Followers/ScalarDamper.js +4 -0
- package/src/x_ite/Components/Followers/TexCoordChaser2D.js +4 -0
- package/src/x_ite/Components/Followers/TexCoordDamper2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Arc2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/ArcClose2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Circle2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Disk2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Polyline2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Polypoint2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/Rectangle2D.js +4 -0
- package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +4 -0
- package/src/x_ite/Components/Geometry3D/Box.js +4 -0
- package/src/x_ite/Components/Geometry3D/Cone.js +4 -0
- package/src/x_ite/Components/Geometry3D/Cylinder.js +4 -0
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +4 -0
- package/src/x_ite/Components/Geometry3D/Extrusion.js +4 -0
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +4 -0
- package/src/x_ite/Components/Geometry3D/Sphere.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoCoordinate.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoLOD.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoLocation.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoMetadata.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoOrigin.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoTransform.js +4 -0
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +4 -0
- package/src/x_ite/Components/Grouping/Group.js +4 -0
- package/src/x_ite/Components/Grouping/StaticGroup.js +23 -0
- package/src/x_ite/Components/Grouping/Switch.js +11 -25
- package/src/x_ite/Components/Grouping/Transform.js +4 -0
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +0 -1
- package/src/x_ite/Components/HAnim/HAnimDisplacer.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimJoint.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimMotion.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimSegment.js +4 -0
- package/src/x_ite/Components/HAnim/HAnimSite.js +4 -0
- package/src/x_ite/Components/Interpolation/ColorInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +4 -0
- package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +4 -0
- package/src/x_ite/Components/Interpolation/NormalInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/PositionInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +4 -0
- package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +4 -0
- package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +4 -0
- package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +4 -0
- package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +4 -0
- package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +4 -0
- package/src/x_ite/Components/Layering/Layer.js +4 -0
- package/src/x_ite/Components/Layering/LayerSet.js +4 -0
- package/src/x_ite/Components/Layering/Viewport.js +4 -0
- package/src/x_ite/Components/Layout/Layout.js +16 -10
- package/src/x_ite/Components/Layout/LayoutGroup.js +13 -5
- package/src/x_ite/Components/Layout/LayoutLayer.js +4 -0
- package/src/x_ite/Components/Layout/ScreenFontStyle.js +4 -0
- package/src/x_ite/Components/Layout/ScreenGroup.js +4 -0
- package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -0
- package/src/x_ite/Components/Lighting/EnvironmentLight.js +4 -0
- package/src/x_ite/Components/Lighting/PointLight.js +4 -0
- package/src/x_ite/Components/Lighting/SpotLight.js +7 -9
- package/src/x_ite/Components/NURBS/Contour2D.js +4 -0
- package/src/x_ite/Components/NURBS/ContourPolyline2D.js +4 -0
- package/src/x_ite/Components/NURBS/CoordinateDouble.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsCurve.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsCurve2D.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSet.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +4 -0
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +4 -0
- package/src/x_ite/Components/Navigation/Billboard.js +4 -0
- package/src/x_ite/Components/Navigation/Collision.js +4 -0
- package/src/x_ite/Components/Navigation/LOD.js +11 -25
- package/src/x_ite/Components/Navigation/NavigationInfo.js +4 -0
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +4 -0
- package/src/x_ite/Components/Navigation/Viewpoint.js +4 -0
- package/src/x_ite/Components/Navigation/ViewpointGroup.js +4 -0
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +9 -1
- package/src/x_ite/Components/Networking/Anchor.js +4 -0
- package/src/x_ite/Components/Networking/Inline.js +4 -0
- package/src/x_ite/Components/Networking/LoadSensor.js +42 -29
- package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +4 -0
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +4 -0
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +4 -0
- package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +4 -0
- package/src/x_ite/Components/Picking/LinePickSensor.js +4 -0
- package/src/x_ite/Components/Picking/PickableGroup.js +4 -0
- package/src/x_ite/Components/Picking/PointPickSensor.js +4 -0
- package/src/x_ite/Components/Picking/PrimitivePickSensor.js +4 -0
- package/src/x_ite/Components/Picking/VolumePickSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +4 -0
- package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +4 -0
- package/src/x_ite/Components/Rendering/ClipPlane.js +4 -0
- package/src/x_ite/Components/Rendering/Color.js +4 -0
- package/src/x_ite/Components/Rendering/ColorRGBA.js +4 -0
- package/src/x_ite/Components/Rendering/Coordinate.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +4 -0
- package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +4 -0
- package/src/x_ite/Components/Rendering/LineSet.js +4 -0
- package/src/x_ite/Components/Rendering/Normal.js +4 -0
- package/src/x_ite/Components/Rendering/PointSet.js +4 -0
- package/src/x_ite/Components/Rendering/TriangleFanSet.js +4 -0
- package/src/x_ite/Components/Rendering/TriangleSet.js +4 -0
- package/src/x_ite/Components/Rendering/TriangleStripSet.js +4 -0
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +15 -8
- package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +11 -29
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +11 -29
- package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +4 -0
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -0
- package/src/x_ite/Components/Scripting/Script.js +4 -0
- package/src/x_ite/Components/Shaders/ComposedShader.js +7 -3
- package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +4 -0
- package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +4 -0
- package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +4 -0
- package/src/x_ite/Components/Shaders/PackagedShader.js +4 -0
- package/src/x_ite/Components/Shaders/ProgramShader.js +4 -0
- package/src/x_ite/Components/Shaders/ShaderPart.js +4 -0
- package/src/x_ite/Components/Shaders/ShaderProgram.js +4 -0
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -8
- package/src/x_ite/Components/Shape/AcousticProperties.js +4 -0
- package/src/x_ite/Components/Shape/Appearance.js +4 -0
- package/src/x_ite/Components/Shape/FillProperties.js +4 -0
- package/src/x_ite/Components/Shape/LineProperties.js +4 -0
- package/src/x_ite/Components/Shape/Material.js +4 -1
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +4 -1
- package/src/x_ite/Components/Shape/PointProperties.js +4 -0
- package/src/x_ite/Components/Shape/Shape.js +4 -5
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +4 -0
- package/src/x_ite/Components/Shape/UnlitMaterial.js +4 -1
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +5 -7
- package/src/x_ite/Components/Shape/X3DShapeNode.js +21 -17
- package/src/x_ite/Components/Sound/Analyser.js +4 -0
- package/src/x_ite/Components/Sound/AudioClip.js +4 -0
- package/src/x_ite/Components/Sound/AudioDestination.js +4 -0
- package/src/x_ite/Components/Sound/BiquadFilter.js +4 -0
- package/src/x_ite/Components/Sound/BufferAudioSource.js +4 -0
- package/src/x_ite/Components/Sound/ChannelMerger.js +4 -0
- package/src/x_ite/Components/Sound/ChannelSelector.js +4 -0
- package/src/x_ite/Components/Sound/ChannelSplitter.js +4 -0
- package/src/x_ite/Components/Sound/Convolver.js +4 -0
- package/src/x_ite/Components/Sound/Delay.js +4 -0
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +4 -0
- package/src/x_ite/Components/Sound/Gain.js +4 -0
- package/src/x_ite/Components/Sound/ListenerPointSource.js +4 -0
- package/src/x_ite/Components/Sound/MicrophoneSource.js +4 -0
- package/src/x_ite/Components/Sound/OscillatorSource.js +4 -0
- package/src/x_ite/Components/Sound/PeriodicWave.js +4 -0
- package/src/x_ite/Components/Sound/Sound.js +4 -0
- package/src/x_ite/Components/Sound/SpatialSound.js +4 -0
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +4 -0
- package/src/x_ite/Components/Sound/StreamAudioSource.js +4 -0
- package/src/x_ite/Components/Sound/WaveShaper.js +4 -0
- package/src/x_ite/Components/Text/FontStyle.js +4 -0
- package/src/x_ite/Components/Text/Text.js +4 -0
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -0
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +4 -0
- package/src/x_ite/Components/Texturing/ImageTexture.js +11 -11
- package/src/x_ite/Components/Texturing/MovieTexture.js +8 -5
- package/src/x_ite/Components/Texturing/MultiTexture.js +4 -0
- package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +4 -0
- package/src/x_ite/Components/Texturing/MultiTextureTransform.js +4 -0
- package/src/x_ite/Components/Texturing/PixelTexture.js +4 -0
- package/src/x_ite/Components/Texturing/TextureCoordinate.js +4 -0
- package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +4 -0
- package/src/x_ite/Components/Texturing/TextureProperties.js +4 -0
- package/src/x_ite/Components/Texturing/TextureTransform.js +4 -0
- package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +4 -0
- package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +4 -0
- package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +4 -0
- package/src/x_ite/Components/Time/TimeSensor.js +4 -0
- package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +4 -0
- package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +4 -0
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +4 -0
- package/src/x_ite/Components/X_ITE/BlendMode.js +4 -0
- package/src/x_ite/Execution/X3DExecutionContext.js +16 -0
- package/src/x_ite/Fields/SFNode.js +8 -0
- package/src/x_ite/InputOutput/FileLoader.js +1 -1
- package/src/x_ite/Parser/GLTF2Parser.js +26 -5
- package/src/x_ite/Parser/VRMLParser.js +3 -3
- package/src/x_ite/Parser/XMLParser.js +3 -3
- package/src/x_ite/{X3DCanvas.js → X3DCanvasElement.js} +23 -4
- package/src/x_ite.js +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.13 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 355:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,25 +73,25 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
79
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
79
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Fields");
|
|
80
80
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
82
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
82
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
83
83
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
85
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
85
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
86
86
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureNode\")"
|
|
88
|
-
const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
88
|
+
const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
|
|
89
89
|
var X3DSingleTextureNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureNode_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
91
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
91
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DConstants");
|
|
92
92
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
94
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
94
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Namespace");
|
|
95
95
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
96
96
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js
|
|
97
97
|
/*******************************************************************************
|
|
@@ -227,10 +227,10 @@ const __default__ = X3DEnvironmentTextureNode;
|
|
|
227
227
|
Namespace_default().set ("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode", __default__);
|
|
228
228
|
/* harmony default export */ const CubeMapTexturing_X3DEnvironmentTextureNode = (__default__);
|
|
229
229
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
230
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
230
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DCast");
|
|
231
231
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
232
232
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/BitSet\")"
|
|
233
|
-
const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
233
|
+
const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Utility/BitSet");
|
|
234
234
|
var BitSet_default = /*#__PURE__*/__webpack_require__.n(BitSet_namespaceObject);
|
|
235
235
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js
|
|
236
236
|
/*******************************************************************************
|
|
@@ -336,6 +336,10 @@ ComposedCubeMapTexture .prototype = Object .assign (Object .create (CubeMapTextu
|
|
|
336
336
|
{
|
|
337
337
|
return "texture";
|
|
338
338
|
},
|
|
339
|
+
getSpecificationRange: function ()
|
|
340
|
+
{
|
|
341
|
+
return ["3.1", "Infinity"];
|
|
342
|
+
},
|
|
339
343
|
initialize: function ()
|
|
340
344
|
{
|
|
341
345
|
CubeMapTexturing_X3DEnvironmentTextureNode.prototype.initialize.call (this);
|
|
@@ -438,7 +442,6 @@ ComposedCubeMapTexture .prototype = Object .assign (Object .create (CubeMapTextu
|
|
|
438
442
|
case (X3DConstants_default()).MovieTexture:
|
|
439
443
|
{
|
|
440
444
|
gl .bindTexture (this .getTarget (), this .getTexture ());
|
|
441
|
-
gl .pixelStorei (gl .UNPACK_FLIP_Y_WEBGL, textureNode ._flipVertically .getValue ());
|
|
442
445
|
gl .texImage2D (this .getTargets () [i], 0, gl .RGBA, width, height, 0, gl .RGBA, gl .UNSIGNED_BYTE, textureNode .getElement ());
|
|
443
446
|
break;
|
|
444
447
|
}
|
|
@@ -474,13 +477,13 @@ const ComposedCubeMapTexture_default_ = ComposedCubeMapTexture;
|
|
|
474
477
|
Namespace_default().set ("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture", ComposedCubeMapTexture_default_);
|
|
475
478
|
/* harmony default export */ const CubeMapTexturing_ComposedCubeMapTexture = (ComposedCubeMapTexture_default_);
|
|
476
479
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
|
477
|
-
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
480
|
+
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DBaseNode");
|
|
478
481
|
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
|
479
482
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/X3DRenderObject\")"
|
|
480
|
-
const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
483
|
+
const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Rendering/X3DRenderObject");
|
|
481
484
|
var X3DRenderObject_default = /*#__PURE__*/__webpack_require__.n(X3DRenderObject_namespaceObject);
|
|
482
485
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
483
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
486
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Rendering/TraverseType");
|
|
484
487
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
485
488
|
;// CONCATENATED MODULE: ./src/x_ite/Rendering/DependentRenderer.js
|
|
486
489
|
/*******************************************************************************
|
|
@@ -621,28 +624,28 @@ const DependentRenderer_default_ = DependentRenderer;
|
|
|
621
624
|
Namespace_default().set ("x_ite/Rendering/DependentRenderer", DependentRenderer_default_);
|
|
622
625
|
/* harmony default export */ const Rendering_DependentRenderer = (DependentRenderer_default_);
|
|
623
626
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TextureBuffer\")"
|
|
624
|
-
const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
627
|
+
const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Rendering/TextureBuffer");
|
|
625
628
|
var TextureBuffer_default = /*#__PURE__*/__webpack_require__.n(TextureBuffer_namespaceObject);
|
|
626
629
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Camera\")"
|
|
627
|
-
const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
630
|
+
const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Geometry/Camera");
|
|
628
631
|
var Camera_default = /*#__PURE__*/__webpack_require__.n(Camera_namespaceObject);
|
|
629
632
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
|
|
630
|
-
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
633
|
+
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Geometry/ViewVolume");
|
|
631
634
|
var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
|
|
632
635
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
633
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
636
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Rotation4");
|
|
634
637
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
635
638
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
636
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
639
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Vector3");
|
|
637
640
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
638
641
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
|
|
639
|
-
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
642
|
+
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Vector4");
|
|
640
643
|
var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
|
|
641
644
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
642
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
645
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Matrix4");
|
|
643
646
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
644
647
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
645
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
648
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Algorithm");
|
|
646
649
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
647
650
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js
|
|
648
651
|
/*******************************************************************************
|
|
@@ -742,6 +745,10 @@ GeneratedCubeMapTexture .prototype = Object .assign (Object .create (CubeMapText
|
|
|
742
745
|
{
|
|
743
746
|
return "texture";
|
|
744
747
|
},
|
|
748
|
+
getSpecificationRange: function ()
|
|
749
|
+
{
|
|
750
|
+
return ["3.0", "Infinity"];
|
|
751
|
+
},
|
|
745
752
|
initialize: function ()
|
|
746
753
|
{
|
|
747
754
|
CubeMapTexturing_X3DEnvironmentTextureNode.prototype.initialize.call (this);
|
|
@@ -930,13 +937,13 @@ const GeneratedCubeMapTexture_default_ = GeneratedCubeMapTexture;
|
|
|
930
937
|
Namespace_default().set ("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture", GeneratedCubeMapTexture_default_);
|
|
931
938
|
/* harmony default export */ const CubeMapTexturing_GeneratedCubeMapTexture = (GeneratedCubeMapTexture_default_);
|
|
932
939
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
933
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
940
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
934
941
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
935
942
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
936
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
943
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Vector2");
|
|
937
944
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
938
945
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEBUG\")"
|
|
939
|
-
const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
946
|
+
const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/DEBUG");
|
|
940
947
|
var DEBUG_default = /*#__PURE__*/__webpack_require__.n(DEBUG_namespaceObject);
|
|
941
948
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js
|
|
942
949
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -1045,6 +1052,10 @@ ImageCubeMapTexture .prototype = Object .assign (Object .create (CubeMapTexturin
|
|
|
1045
1052
|
{
|
|
1046
1053
|
return "texture";
|
|
1047
1054
|
},
|
|
1055
|
+
getSpecificationRange: function ()
|
|
1056
|
+
{
|
|
1057
|
+
return ["3.0", "Infinity"];
|
|
1058
|
+
},
|
|
1048
1059
|
initialize: function ()
|
|
1049
1060
|
{
|
|
1050
1061
|
CubeMapTexturing_X3DEnvironmentTextureNode.prototype.initialize.call (this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.6.11 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.11")].require("lib/jquery")}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Fields");var n=r.n(i);const o=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DFieldDefinition");var s=r.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(a);const d=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const p=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DConstants");var c=r.n(p);const g=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Namespace");var l=r.n(g);function T(e){h().call(this,e),this.addType(c().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y]}T.prototype=Object.assign(Object.create(h().prototype),{constructor:T,getTarget:function(){return this.target},getTextureType:function(){return 4},getTextureTypeString:function(){return"CUBE"},getTargets:function(){return this.targets},clearTexture:function(){const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e);this.setTransparent(!1)}}(),updateTextureParameters:function(){h().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,128,128,!1,!1,!1)},setShaderUniforms:function(e,t,r,i=t.x3d_Texture[0]){const n=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+n),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,n)}});const x=T;l().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",x);const f=x,_=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DCast");var w=r.n(_);const m=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Utility/BitSet");var b=r.n(m);function E(e){f.call(this,e),this.addType(c().ComposedCubeMapTexture),e.getSpecificationVersion()<4&&(this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("bottom",this._bottomTexture),this.addAlias("top",this._topTexture)),this.addChildObjects("update",new(n().SFTime)),this.textureNodes=[null,null,null,null,null,null],this.loadStateBits=new(b())}E.prototype=Object.assign(Object.create(f.prototype),{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"frontTexture",new(n().SFNode)),new(s())(c().inputOutput,"backTexture",new(n().SFNode)),new(s())(c().inputOutput,"leftTexture",new(n().SFNode)),new(s())(c().inputOutput,"rightTexture",new(n().SFNode)),new(s())(c().inputOutput,"bottomTexture",new(n().SFNode)),new(s())(c().inputOutput,"topTexture",new(n().SFNode)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ComposedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){f.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this._update.addInterest("update",this),this.set_texture__(this._frontTexture,0),this.set_texture__(this._backTexture,1),this.set_texture__(this._leftTexture,2),this.set_texture__(this._rightTexture,3),this.set_texture__(this._topTexture,4),this.set_texture__(this._bottomTexture,5)},set_texture__:function(e,t){let r=this.textureNodes[t];r&&r.removeInterest("set_loadState__",this),r=this.textureNodes[t]=w()(c().X3DTexture2DNode,e),r&&r.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__:function(e,t){e?this.setLoadStateBit(t,e,e.checkLoadState()):this.setLoadStateBit(t,e,c().NOT_STARTED),this._update.addEvent()},setLoadStateBit:function(e,t,r){this.loadStateBits.set(e,r===c().COMPLETE_STATE||t.getWidth())},isComplete:function(){if(63!=+this.loadStateBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update:function(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),o=i.getHeight();switch(i.getType().at(-1)){case c().ImageTexture:case c().MovieTexture:e.bindTexture(this.getTarget(),this.getTexture()),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,i._flipVertically.getValue()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,i.getElement());break;default:e.bindTexture(e.TEXTURE_2D,i.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,null),e.copyTexSubImage2D(this.getTargets()[r],0,0,0,0,0,n,o)}}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.bindFramebuffer(e.FRAMEBUFFER,r),this.setTransparent(t.some((e=>e.isTransparent()))),this.updateTextureParameters()}else this.clearTexture()}});const S=E;l().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",S);const y=S,I=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const C=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Rendering/X3DRenderObject");var N=r.n(C);const X=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Rendering/TraverseType");var B=r.n(X);function D(e){M().call(this,e),N().call(this,e),this.renderObject=null}D.prototype=Object.assign(Object.create(M().prototype),N().prototype,{constructor:D,initialize:function(){M().prototype.initialize.call(this),N().prototype.initialize.call(this)},isIndependent:function(){return!1},setRenderer:function(e){this.renderObject=e},getLayer:function(){return this.renderObject.getLayer()},getBackground:function(){return this.renderObject.getBackground()},getFog:function(){return this.renderObject.getFog()},getNavigationInfo:function(){return this.renderObject.getNavigationInfo()},getViewpoint:function(){return this.renderObject.getViewpoint()},getLightContainer:function(){return this.renderObject.getLights()[this.lightIndex++]},render:function(e,t,r){switch(e){case B().COLLISION:case B().SHADOW:N().prototype.render.call(this,e,t,r);break;case B().DISPLAY:this.lightIndex=0,N().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Reflect.ownKeys(D.prototype))Object.defineProperty(D.prototype,e,{enumerable:!1});const O=D;l().set("x_ite/Rendering/DependentRenderer",O);const R=O,A=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Rendering/TextureBuffer");var v=r.n(A);const U=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Geometry/Camera");var F=r.n(U);const V=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Geometry/ViewVolume");var P=r.n(V);const L=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Rotation4");var G=r.n(L);const j=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Vector3");var q=r.n(j);const z=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Vector4");var k=r.n(z);const Y=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Algorithm");var K=r.n(H);function Z(e){f.call(this,e),this.addType(c().GeneratedCubeMapTexture),this.dependentRenderer=new R(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(P())}Z.prototype=Object.assign(Object.create(f.prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"update",new(n().SFString)("NONE")),new(s())(c().initializeOnly,"size",new(n().SFInt32)(128)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"GeneratedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){f.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.dependentRenderer.setup(),this.set_size__()},set_size__:function(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():K().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.updateTextureParameters(),this.viewport=new(k())(0,0,t,t),this.frameBuffer=new(v())(this.getBrowser(),t,t)}else this.frameBuffer=null},traverse:function(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:function(){const e=[new(G())(q().zAxis,new(q())(0,0,-1)),new(G())(q().zAxis,new(q())(0,0,1)),new(G())(q().zAxis,new(q())(1,0,0)),new(G())(q().zAxis,new(q())(-1,0,0)),new(G())(q().zAxis,new(q())(0,-1,0)),new(G())(q().zAxis,new(q())(0,1,0))],t=[new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(1,1,1),new(q())(1,1,1)],r=new(W());return function(i){this.dependentRenderer.setRenderer(i);const n=this.dependentRenderer,o=this.getBrowser(),s=i.getLayer(),a=o.getContext(),u=n.getBackground(),d=n.getNavigationInfo(),h=n.getViewpoint(),p=o.getHeadlight(),c=d._headlight.getValue(),g=d.getNearValue(),l=d.getFarValue(h),T=F().perspective(K().radians(90),g,l,1,1,this.projectionMatrix),x=this.frameBuffer.getWidth(),f=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(T,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(T),a.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)a.clear(a.COLOR_BUFFER_BIT),n.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),n.getCameraSpaceMatrix().rotate(e[i]),n.getCameraSpaceMatrix().scale(t[i]),n.getViewMatrix().pushMatrix(r.assign(n.getCameraSpaceMatrix().get()).inverse()),n.getModelViewMatrix().pushMatrix(r),c&&(p.modelViewMatrix.pushMatrix(r),p.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),s.traverse(B().DISPLAY,n),c&&p.modelViewMatrix.pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop(),a.bindTexture(this.getTarget(),this.getTexture()),a.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,x,f);this.updateTextureParameters(),n.getProjectionMatrix().pop(),n.getViewVolumes().pop(),this.frameBuffer.unbind(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}}(),setShaderUniforms:function(){const e=new Float32Array(16);return function(t,r,i,n){f.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}}()});const J=Z;l().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",J);const Q=J,$=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n($);const te=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/DEBUG");var ne=r.n(ie),oe=r(355);const se=new Uint8Array([255,255,255,255]),ae=[new(re())(1,1),new(re())(3,1),new(re())(0,1),new(re())(2,1),new(re())(1,0),new(re())(1,2)];function ue(e){f.call(this,e),ee().call(this,e),this.addType(c().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}ue.prototype=Object.assign(Object.create(f.prototype),ee().prototype,{constructor:ue,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"load",new(n().SFBool)(!0)),new(s())(c().inputOutput,"url",new(n().MFString)),new(s())(c().inputOutput,"autoRefresh",new(n().SFTime)),new(s())(c().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ImageCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){f.prototype.initialize.call(this),ee().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,se);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image.prop("crossOrigin","Anonymous"),this.requestImmediateLoad()},unLoadNow:function(){this.clearTexture()},loadNow:function(){this.urlStack.setValue(this._url),this.loadNext()},loadNext:function(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(c().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href)},setError:function(){"data:"!==this.URL.protocol&&console.warn("Error loading image:",decodeURI(this.URL.href)),this.loadNext()},setImage:function(){ne()&&"data:"!==this.URL.protocol&&console.info("Done loading image cube map texture:",decodeURI(this.URL.href));try{const e=this.image[0],t=this.canvas[0],r=t.getContext("2d",{willReadFrequently:!0});let i=e.width,n=e.height,o=Math.floor(i/4),s=Math.floor(n/3);K().isPowerOfTwo(o)&&K().isPowerOfTwo(s)&&4*o===i&&3*s===n?(t.width=i,t.height=n,r.drawImage(e,0,0)):(o=K().nextPowerOfTwo(o),s=K().nextPowerOfTwo(s),i=4*o,n=3*s,t.width=i,t.height=n,r.drawImage(e,0,0,e.width,e.height,0,0,i,n));const a=this.getBrowser().getContext();let u=!0;a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e){const t=r.getImageData(ae[e].x*o,ae[e].y*s,o,s).data;if(u)for(let e=3;e<t.length;e+=4)if(255!==t[e]){u=!1;break}a.texImage2D(this.getTargets()[e],0,a.RGBA,o,s,!1,a.RGBA,a.UNSIGNED_BYTE,new Uint8Array(t.buffer))}this.updateTextureParameters(),this.setTransparent(!u),this.setLoadState(c().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose:function(){ee().prototype.dispose.call(this),f.prototype.dispose.call(this)}});const de=ue;l().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().addComponent({name:"CubeMapTexturing",types:{ComposedCubeMapTexture:y,GeneratedCubeMapTexture:Q,ImageCubeMapTexture:he},abstractTypes:{X3DEnvironmentTextureNode:f}});const pe=void 0;l().set("assets/components/CubeMapTexturing",pe)})()})();
|
|
1
|
+
/* X_ITE v8.6.13 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.13")].require("lib/jquery")}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Fields");var n=r.n(i);const o=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DFieldDefinition");var s=r.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(a);const d=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const c=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DConstants");var g=r.n(c);const p=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Namespace");var l=r.n(p);function T(e){h().call(this,e),this.addType(g().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y]}T.prototype=Object.assign(Object.create(h().prototype),{constructor:T,getTarget:function(){return this.target},getTextureType:function(){return 4},getTextureTypeString:function(){return"CUBE"},getTargets:function(){return this.targets},clearTexture:function(){const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e);this.setTransparent(!1)}}(),updateTextureParameters:function(){h().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,128,128,!1,!1,!1)},setShaderUniforms:function(e,t,r,i=t.x3d_Texture[0]){const n=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+n),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,n)}});const x=T;l().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",x);const f=x,w=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DCast");var _=r.n(w);const m=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Utility/BitSet");var b=r.n(m);function E(e){f.call(this,e),this.addType(g().ComposedCubeMapTexture),e.getSpecificationVersion()<4&&(this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("bottom",this._bottomTexture),this.addAlias("top",this._topTexture)),this.addChildObjects("update",new(n().SFTime)),this.textureNodes=[null,null,null,null,null,null],this.loadStateBits=new(b())}E.prototype=Object.assign(Object.create(f.prototype),{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"frontTexture",new(n().SFNode)),new(s())(g().inputOutput,"backTexture",new(n().SFNode)),new(s())(g().inputOutput,"leftTexture",new(n().SFNode)),new(s())(g().inputOutput,"rightTexture",new(n().SFNode)),new(s())(g().inputOutput,"bottomTexture",new(n().SFNode)),new(s())(g().inputOutput,"topTexture",new(n().SFNode)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ComposedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.1","Infinity"]},initialize:function(){f.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this._update.addInterest("update",this),this.set_texture__(this._frontTexture,0),this.set_texture__(this._backTexture,1),this.set_texture__(this._leftTexture,2),this.set_texture__(this._rightTexture,3),this.set_texture__(this._topTexture,4),this.set_texture__(this._bottomTexture,5)},set_texture__:function(e,t){let r=this.textureNodes[t];r&&r.removeInterest("set_loadState__",this),r=this.textureNodes[t]=_()(g().X3DTexture2DNode,e),r&&r.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__:function(e,t){e?this.setLoadStateBit(t,e,e.checkLoadState()):this.setLoadStateBit(t,e,g().NOT_STARTED),this._update.addEvent()},setLoadStateBit:function(e,t,r){this.loadStateBits.set(e,r===g().COMPLETE_STATE||t.getWidth())},isComplete:function(){if(63!=+this.loadStateBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update:function(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),o=i.getHeight();switch(i.getType().at(-1)){case g().ImageTexture:case g().MovieTexture:e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,i.getElement());break;default:e.bindTexture(e.TEXTURE_2D,i.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,null),e.copyTexSubImage2D(this.getTargets()[r],0,0,0,0,0,n,o)}}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.bindFramebuffer(e.FRAMEBUFFER,r),this.setTransparent(t.some((e=>e.isTransparent()))),this.updateTextureParameters()}else this.clearTexture()}});const S=E;l().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",S);const y=S,I=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const C=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Rendering/X3DRenderObject");var X=r.n(C);const N=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Rendering/TraverseType");var B=r.n(N);function D(e){M().call(this,e),X().call(this,e),this.renderObject=null}D.prototype=Object.assign(Object.create(M().prototype),X().prototype,{constructor:D,initialize:function(){M().prototype.initialize.call(this),X().prototype.initialize.call(this)},isIndependent:function(){return!1},setRenderer:function(e){this.renderObject=e},getLayer:function(){return this.renderObject.getLayer()},getBackground:function(){return this.renderObject.getBackground()},getFog:function(){return this.renderObject.getFog()},getNavigationInfo:function(){return this.renderObject.getNavigationInfo()},getViewpoint:function(){return this.renderObject.getViewpoint()},getLightContainer:function(){return this.renderObject.getLights()[this.lightIndex++]},render:function(e,t,r){switch(e){case B().COLLISION:case B().SHADOW:X().prototype.render.call(this,e,t,r);break;case B().DISPLAY:this.lightIndex=0,X().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Reflect.ownKeys(D.prototype))Object.defineProperty(D.prototype,e,{enumerable:!1});const O=D;l().set("x_ite/Rendering/DependentRenderer",O);const R=O,A=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Rendering/TextureBuffer");var v=r.n(A);const U=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Geometry/Camera");var F=r.n(U);const V=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Geometry/ViewVolume");var P=r.n(V);const L=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Rotation4");var G=r.n(L);const j=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Vector3");var q=r.n(j);const z=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Vector4");var k=r.n(z);const Y=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Algorithm");var K=r.n(H);function Z(e){f.call(this,e),this.addType(g().GeneratedCubeMapTexture),this.dependentRenderer=new R(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(P())}Z.prototype=Object.assign(Object.create(f.prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"update",new(n().SFString)("NONE")),new(s())(g().initializeOnly,"size",new(n().SFInt32)(128)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"GeneratedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){f.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.dependentRenderer.setup(),this.set_size__()},set_size__:function(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():K().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.updateTextureParameters(),this.viewport=new(k())(0,0,t,t),this.frameBuffer=new(v())(this.getBrowser(),t,t)}else this.frameBuffer=null},traverse:function(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:function(){const e=[new(G())(q().zAxis,new(q())(0,0,-1)),new(G())(q().zAxis,new(q())(0,0,1)),new(G())(q().zAxis,new(q())(1,0,0)),new(G())(q().zAxis,new(q())(-1,0,0)),new(G())(q().zAxis,new(q())(0,-1,0)),new(G())(q().zAxis,new(q())(0,1,0))],t=[new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(1,1,1),new(q())(1,1,1)],r=new(W());return function(i){this.dependentRenderer.setRenderer(i);const n=this.dependentRenderer,o=this.getBrowser(),s=i.getLayer(),a=o.getContext(),u=n.getBackground(),d=n.getNavigationInfo(),h=n.getViewpoint(),c=o.getHeadlight(),g=d._headlight.getValue(),p=d.getNearValue(),l=d.getFarValue(h),T=F().perspective(K().radians(90),p,l,1,1,this.projectionMatrix),x=this.frameBuffer.getWidth(),f=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(T,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(T),a.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)a.clear(a.COLOR_BUFFER_BIT),n.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),n.getCameraSpaceMatrix().rotate(e[i]),n.getCameraSpaceMatrix().scale(t[i]),n.getViewMatrix().pushMatrix(r.assign(n.getCameraSpaceMatrix().get()).inverse()),n.getModelViewMatrix().pushMatrix(r),g&&(c.modelViewMatrix.pushMatrix(r),c.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),s.traverse(B().DISPLAY,n),g&&c.modelViewMatrix.pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop(),a.bindTexture(this.getTarget(),this.getTexture()),a.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,x,f);this.updateTextureParameters(),n.getProjectionMatrix().pop(),n.getViewVolumes().pop(),this.frameBuffer.unbind(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}}(),setShaderUniforms:function(){const e=new Float32Array(16);return function(t,r,i,n){f.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}}()});const J=Z;l().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",J);const Q=J,$=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n($);const te=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/DEBUG");var ne=r.n(ie),oe=r(355);const se=new Uint8Array([255,255,255,255]),ae=[new(re())(1,1),new(re())(3,1),new(re())(0,1),new(re())(2,1),new(re())(1,0),new(re())(1,2)];function ue(e){f.call(this,e),ee().call(this,e),this.addType(g().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}ue.prototype=Object.assign(Object.create(f.prototype),ee().prototype,{constructor:ue,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"load",new(n().SFBool)(!0)),new(s())(g().inputOutput,"url",new(n().MFString)),new(s())(g().inputOutput,"autoRefresh",new(n().SFTime)),new(s())(g().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ImageCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){f.prototype.initialize.call(this),ee().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,se);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image.prop("crossOrigin","Anonymous"),this.requestImmediateLoad()},unLoadNow:function(){this.clearTexture()},loadNow:function(){this.urlStack.setValue(this._url),this.loadNext()},loadNext:function(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(g().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href)},setError:function(){"data:"!==this.URL.protocol&&console.warn("Error loading image:",decodeURI(this.URL.href)),this.loadNext()},setImage:function(){ne()&&"data:"!==this.URL.protocol&&console.info("Done loading image cube map texture:",decodeURI(this.URL.href));try{const e=this.image[0],t=this.canvas[0],r=t.getContext("2d",{willReadFrequently:!0});let i=e.width,n=e.height,o=Math.floor(i/4),s=Math.floor(n/3);K().isPowerOfTwo(o)&&K().isPowerOfTwo(s)&&4*o===i&&3*s===n?(t.width=i,t.height=n,r.drawImage(e,0,0)):(o=K().nextPowerOfTwo(o),s=K().nextPowerOfTwo(s),i=4*o,n=3*s,t.width=i,t.height=n,r.drawImage(e,0,0,e.width,e.height,0,0,i,n));const a=this.getBrowser().getContext();let u=!0;a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e){const t=r.getImageData(ae[e].x*o,ae[e].y*s,o,s).data;if(u)for(let e=3;e<t.length;e+=4)if(255!==t[e]){u=!1;break}a.texImage2D(this.getTargets()[e],0,a.RGBA,o,s,!1,a.RGBA,a.UNSIGNED_BYTE,new Uint8Array(t.buffer))}this.updateTextureParameters(),this.setTransparent(!u),this.setLoadState(g().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose:function(){ee().prototype.dispose.call(this),f.prototype.dispose.call(this)}});const de=ue;l().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().addComponent({name:"CubeMapTexturing",types:{ComposedCubeMapTexture:y,GeneratedCubeMapTexture:Q,ImageCubeMapTexture:he},abstractTypes:{X3DEnvironmentTextureNode:f}});const ce=void 0;l().set("assets/components/CubeMapTexturing",ce)})()})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.13 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
54
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
54
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
55
55
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityManager.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -148,6 +148,10 @@ DISEntityManager .prototype = Object .assign (Object .create ((X3DChildNode_defa
|
|
|
148
148
|
{
|
|
149
149
|
return "children";
|
|
150
150
|
},
|
|
151
|
+
getSpecificationRange: function ()
|
|
152
|
+
{
|
|
153
|
+
return ["3.0", "Infinity"];
|
|
154
|
+
},
|
|
151
155
|
});
|
|
152
156
|
|
|
153
157
|
const __default__ = DISEntityManager;
|
|
@@ -156,10 +160,10 @@ const __default__ = DISEntityManager;
|
|
|
156
160
|
Namespace_default().set ("x_ite/Components/DIS/DISEntityManager", __default__);
|
|
157
161
|
/* harmony default export */ const DIS_DISEntityManager = (__default__);
|
|
158
162
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
159
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
163
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
160
164
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
161
165
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
162
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
166
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
163
167
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
164
168
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityTypeMapping.js
|
|
165
169
|
/*******************************************************************************
|
|
@@ -254,6 +258,10 @@ DISEntityTypeMapping .prototype = Object .assign (Object .create ((X3DInfoNode_d
|
|
|
254
258
|
{
|
|
255
259
|
return "mapping";
|
|
256
260
|
},
|
|
261
|
+
getSpecificationRange: function ()
|
|
262
|
+
{
|
|
263
|
+
return ["3.0", "Infinity"];
|
|
264
|
+
},
|
|
257
265
|
initialize: function ()
|
|
258
266
|
{
|
|
259
267
|
X3DInfoNode_default().prototype.initialize.call (this);
|
|
@@ -280,10 +288,10 @@ const DISEntityTypeMapping_default_ = DISEntityTypeMapping;
|
|
|
280
288
|
Namespace_default().set ("x_ite/Components/DIS/DISEntityTypeMapping", DISEntityTypeMapping_default_);
|
|
281
289
|
/* harmony default export */ const DIS_DISEntityTypeMapping = (DISEntityTypeMapping_default_);
|
|
282
290
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
283
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
291
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
284
292
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
285
293
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
|
|
286
|
-
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
294
|
+
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Core/X3DSensorNode");
|
|
287
295
|
var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
|
|
288
296
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/EspduTransform.js
|
|
289
297
|
/*******************************************************************************
|
|
@@ -457,6 +465,10 @@ EspduTransform .prototype = Object .assign (Object .create ((X3DGroupingNode_def
|
|
|
457
465
|
{
|
|
458
466
|
return "children";
|
|
459
467
|
},
|
|
468
|
+
getSpecificationRange: function ()
|
|
469
|
+
{
|
|
470
|
+
return ["3.0", "Infinity"];
|
|
471
|
+
},
|
|
460
472
|
initialize: function ()
|
|
461
473
|
{
|
|
462
474
|
X3DGroupingNode_default().prototype.initialize.call (this);
|
|
@@ -470,7 +482,7 @@ const EspduTransform_default_ = EspduTransform;
|
|
|
470
482
|
Namespace_default().set ("x_ite/Components/DIS/EspduTransform", EspduTransform_default_);
|
|
471
483
|
/* harmony default export */ const DIS_EspduTransform = (EspduTransform_default_);
|
|
472
484
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
473
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
485
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
474
486
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
475
487
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/ReceiverPdu.js
|
|
476
488
|
/*******************************************************************************
|
|
@@ -584,6 +596,10 @@ ReceiverPdu .prototype = Object .assign (Object .create ((X3DSensorNode_default(
|
|
|
584
596
|
{
|
|
585
597
|
return "children";
|
|
586
598
|
},
|
|
599
|
+
getSpecificationRange: function ()
|
|
600
|
+
{
|
|
601
|
+
return ["3.0", "Infinity"];
|
|
602
|
+
},
|
|
587
603
|
initialize: function ()
|
|
588
604
|
{
|
|
589
605
|
X3DSensorNode_default().prototype.initialize.call (this);
|
|
@@ -713,6 +729,10 @@ SignalPdu .prototype = Object .assign (Object .create ((X3DSensorNode_default())
|
|
|
713
729
|
{
|
|
714
730
|
return "children";
|
|
715
731
|
},
|
|
732
|
+
getSpecificationRange: function ()
|
|
733
|
+
{
|
|
734
|
+
return ["3.0", "Infinity"];
|
|
735
|
+
},
|
|
716
736
|
initialize: function ()
|
|
717
737
|
{
|
|
718
738
|
X3DSensorNode_default().prototype.initialize.call (this);
|
|
@@ -858,6 +878,10 @@ TransmitterPdu .prototype = Object .assign (Object .create ((X3DSensorNode_defau
|
|
|
858
878
|
{
|
|
859
879
|
return "children";
|
|
860
880
|
},
|
|
881
|
+
getSpecificationRange: function ()
|
|
882
|
+
{
|
|
883
|
+
return ["3.0", "Infinity"];
|
|
884
|
+
},
|
|
861
885
|
initialize: function ()
|
|
862
886
|
{
|
|
863
887
|
X3DSensorNode_default().prototype.initialize.call (this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.6.11 */(()=>{"use strict";var t={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},d:(n,e)=>{for(var i in e)t.o(e,i)&&!t.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:e[i]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components");var e=t.n(n);const i=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Fields");var u=t.n(i);const o=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DFieldDefinition");var p=t.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/FieldDefinitionArray");var w=t.n(a);const r=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Core/X3DChildNode");var l=t.n(r);const S=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DConstants");var s=t.n(S);const c=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Namespace");var F=t.n(c);function O(t){l().call(this,t),this.addType(s().DISEntityManager),t.getSpecificationVersion()<4&&this.addAlias("mapping",this._children)}O.prototype=Object.assign(Object.create(l().prototype),{constructor:O,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().outputOnly,"addedEntities",new(u().MFNode)),new(p())(s().outputOnly,"removedEntities",new(u().MFNode))]),getTypeName:function(){return"DISEntityManager"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"}});const d=O;F().set("x_ite/Components/DIS/DISEntityManager",d);const y=d,I=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Core/X3DInfoNode");var m=t.n(I);const f=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Networking/X3DUrlObject");var D=t.n(f);function g(t){m().call(this,t),D().call(this,t),this.addType(s().DISEntityTypeMapping)}g.prototype=Object.assign(Object.create(m().prototype),D().prototype,{constructor:g,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"load",new(u().SFBool)(!0)),new(p())(s().inputOutput,"url",new(u().MFString)),new(p())(s().inputOutput,"autoRefresh",new(u().SFTime)),new(p())(s().inputOutput,"autoRefreshTimeLimit",new(u().SFTime)(3600)),new(p())(s().initializeOnly,"category",new(u().SFInt32)),new(p())(s().initializeOnly,"country",new(u().SFInt32)),new(p())(s().initializeOnly,"domain",new(u().SFInt32)),new(p())(s().initializeOnly,"extra",new(u().SFInt32)),new(p())(s().initializeOnly,"kind",new(u().SFInt32)),new(p())(s().initializeOnly,"specific",new(u().SFInt32)),new(p())(s().initializeOnly,"subcategory",new(u().SFInt32))]),getTypeName:function(){return"DISEntityTypeMapping"},getComponentName:function(){return"DIS"},getContainerField:function(){return"mapping"},initialize:function(){m().prototype.initialize.call(this),D().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},requestUnload:function(){},set_load__:function(){},set_url__:function(){},dispose:function(){D().prototype.dispose.call(this),m().prototype.dispose.call(this)}});const h=g;F().set("x_ite/Components/DIS/DISEntityTypeMapping",h);const T=h,b=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=t.n(b);const B=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Core/X3DSensorNode");var E=t.n(B);function N(t){_().call(this,t),E().call(this,t),this.addType(s().EspduTransform)}N.prototype=Object.assign(Object.create(_().prototype),E().prototype,{constructor:N,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOnly,"addChildren",new(u().MFNode)),new(p())(s().inputOnly,"removeChildren",new(u().MFNode)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOnly,"set_articulationParameterValue0",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue1",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue2",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue3",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue4",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue5",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue6",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue7",new(u().SFFloat)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"articulationParameterCount",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterDesignatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterChangeIndicatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterIdPartAttachedToArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterTypeArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterArray",new(u().MFFloat)),new(p())(s().inputOutput,"center",new(u().SFVec3f)),new(p())(s().inputOutput,"collisionType",new(u().SFInt32)),new(p())(s().inputOutput,"deadReckoning",new(u().SFInt32)),new(p())(s().inputOutput,"detonationLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationRelativeLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationResult",new(u().SFInt32)),new(p())(s().inputOutput,"entityCategory",new(u().SFInt32)),new(p())(s().inputOutput,"entityCountry",new(u().SFInt32)),new(p())(s().inputOutput,"entityDomain",new(u().SFInt32)),new(p())(s().inputOutput,"entityExtra",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"entityKind",new(u().SFInt32)),new(p())(s().inputOutput,"entitySpecific",new(u().SFInt32)),new(p())(s().inputOutput,"entitySubCategory",new(u().SFInt32)),new(p())(s().inputOutput,"eventApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"eventEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"eventNumber",new(u().SFInt32)),new(p())(s().inputOutput,"eventSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"fired1",new(u().SFBool)),new(p())(s().inputOutput,"fired2",new(u().SFBool)),new(p())(s().inputOutput,"fireMissionIndex",new(u().SFInt32)),new(p())(s().inputOutput,"firingRange",new(u().SFFloat)),new(p())(s().inputOutput,"firingRate",new(u().SFInt32)),new(p())(s().inputOutput,"forceID",new(u().SFInt32)),new(p())(s().inputOutput,"fuse",new(u().SFInt32)),new(p())(s().inputOutput,"linearVelocity",new(u().SFVec3f)),new(p())(s().inputOutput,"linearAcceleration",new(u().SFVec3f)),new(p())(s().inputOutput,"marking",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"munitionApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"munitionEndPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"munitionEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionQuantity",new(u().SFInt32)),new(p())(s().inputOutput,"munitionSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionStartPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rotation",new(u().SFRotation)),new(p())(s().inputOutput,"scale",new(u().SFVec3f)(1,1,1)),new(p())(s().inputOutput,"scaleOrientation",new(u().SFRotation)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"translation",new(u().SFVec3f)),new(p())(s().inputOutput,"warhead",new(u().SFInt32)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"articulationParameterValue0_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue1_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue2_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue3_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue4_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue5_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue6_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue7_changed",new(u().SFFloat)),new(p())(s().outputOnly,"collideTime",new(u().SFTime)),new(p())(s().outputOnly,"detonateTime",new(u().SFTime)),new(p())(s().outputOnly,"firedTime",new(u().SFTime)),new(p())(s().outputOnly,"isCollided",new(u().SFBool)),new(p())(s().outputOnly,"isDetonated",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().initializeOnly,"rtpHeaderExpected",new(u().SFBool))]),getTypeName:function(){return"EspduTransform"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},initialize:function(){_().prototype.initialize.call(this),E().prototype.initialize.call(this)}});const P=N;F().set("x_ite/Components/DIS/EspduTransform",P);const v=P,C=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Grouping/X3DBoundedObject");var X=t.n(C);function V(t){E().call(this,t),X().call(this,t),this.addType(s().ReceiverPdu)}V.prototype=Object.assign(Object.create(E().prototype),X().prototype,{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"receivedPower",new(u().SFFloat)),new(p())(s().inputOutput,"receiverState",new(u().SFInt32)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"transmitterEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterRadioID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),getTypeName:function(){return"ReceiverPdu"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},initialize:function(){E().prototype.initialize.call(this),X().prototype.initialize.call(this)},dispose:function(){X().prototype.dispose.call(this),E().prototype.dispose.call(this)}});const x=V;F().set("x_ite/Components/DIS/ReceiverPdu",x);const z=x;function R(t){E().call(this,t),X().call(this,t),this.addType(s().SignalPdu)}R.prototype=Object.assign(Object.create(E().prototype),X().prototype,{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"data",new(u().MFInt32)),new(p())(s().inputOutput,"dataLength",new(u().SFInt32)),new(p())(s().inputOutput,"encodingScheme",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"sampleRate",new(u().SFInt32)),new(p())(s().inputOutput,"samples",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"tdlType",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),getTypeName:function(){return"SignalPdu"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},initialize:function(){E().prototype.initialize.call(this),X().prototype.initialize.call(this)},dispose:function(){X().prototype.dispose.call(this),E().prototype.dispose.call(this)}});const M=R;F().set("x_ite/Components/DIS/SignalPdu",M);const A=M;function j(t){E().call(this,t),X().call(this,t),this.addType(s().TransmitterPdu)}j.prototype=Object.assign(Object.create(E().prototype),X().prototype,{constructor:j,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"antennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"antennaPatternLength",new(u().SFInt32)),new(p())(s().inputOutput,"antennaPatternType",new(u().SFInt32)),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"cryptoKeyID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoSystem",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"frequency",new(u().SFInt32)),new(p())(s().inputOutput,"inputSource",new(u().SFInt32)),new(p())(s().inputOutput,"lengthOfModulationParameters",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeDetail",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeMajor",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSpreadSpectrum",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSystem",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"power",new(u().SFFloat)),new(p())(s().inputOutput,"radioEntityTypeCategory",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeCountry",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeDomain",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeKind",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclature",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclatureVersion",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"relativeAntennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitFrequencyBandwidth",new(u().SFFloat)),new(p())(s().inputOutput,"transmitState",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),getTypeName:function(){return"TransmitterPdu"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},initialize:function(){E().prototype.initialize.call(this),X().prototype.initialize.call(this)},dispose:function(){X().prototype.dispose.call(this),E().prototype.dispose.call(this)}});const k=j;F().set("x_ite/Components/DIS/TransmitterPdu",k);const q=k;e().addComponent({name:"DIS",types:{DISEntityManager:y,DISEntityTypeMapping:T,EspduTransform:v,ReceiverPdu:z,SignalPdu:A,TransmitterPdu:q},abstractTypes:{}});const H=void 0;F().set("assets/components/DIS",H)})();
|
|
1
|
+
/* X_ITE v8.6.13 */(()=>{"use strict";var t={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},d:(n,e)=>{for(var i in e)t.o(e,i)&&!t.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:e[i]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components");var e=t.n(n);const i=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Fields");var u=t.n(i);const o=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DFieldDefinition");var p=t.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/FieldDefinitionArray");var w=t.n(a);const r=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Core/X3DChildNode");var l=t.n(r);const S=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DConstants");var s=t.n(S);const c=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Namespace");var F=t.n(c);function O(t){l().call(this,t),this.addType(s().DISEntityManager),t.getSpecificationVersion()<4&&this.addAlias("mapping",this._children)}O.prototype=Object.assign(Object.create(l().prototype),{constructor:O,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().outputOnly,"addedEntities",new(u().MFNode)),new(p())(s().outputOnly,"removedEntities",new(u().MFNode))]),getTypeName:function(){return"DISEntityManager"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]}});const d=O;F().set("x_ite/Components/DIS/DISEntityManager",d);const y=d,I=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Core/X3DInfoNode");var m=t.n(I);const f=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Networking/X3DUrlObject");var g=t.n(f);function D(t){m().call(this,t),g().call(this,t),this.addType(s().DISEntityTypeMapping)}D.prototype=Object.assign(Object.create(m().prototype),g().prototype,{constructor:D,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"load",new(u().SFBool)(!0)),new(p())(s().inputOutput,"url",new(u().MFString)),new(p())(s().inputOutput,"autoRefresh",new(u().SFTime)),new(p())(s().inputOutput,"autoRefreshTimeLimit",new(u().SFTime)(3600)),new(p())(s().initializeOnly,"category",new(u().SFInt32)),new(p())(s().initializeOnly,"country",new(u().SFInt32)),new(p())(s().initializeOnly,"domain",new(u().SFInt32)),new(p())(s().initializeOnly,"extra",new(u().SFInt32)),new(p())(s().initializeOnly,"kind",new(u().SFInt32)),new(p())(s().initializeOnly,"specific",new(u().SFInt32)),new(p())(s().initializeOnly,"subcategory",new(u().SFInt32))]),getTypeName:function(){return"DISEntityTypeMapping"},getComponentName:function(){return"DIS"},getContainerField:function(){return"mapping"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){m().prototype.initialize.call(this),g().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},requestUnload:function(){},set_load__:function(){},set_url__:function(){},dispose:function(){g().prototype.dispose.call(this),m().prototype.dispose.call(this)}});const h=D;F().set("x_ite/Components/DIS/DISEntityTypeMapping",h);const T=h,b=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=t.n(b);const B=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Core/X3DSensorNode");var E=t.n(B);function N(t){_().call(this,t),E().call(this,t),this.addType(s().EspduTransform)}N.prototype=Object.assign(Object.create(_().prototype),E().prototype,{constructor:N,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOnly,"addChildren",new(u().MFNode)),new(p())(s().inputOnly,"removeChildren",new(u().MFNode)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOnly,"set_articulationParameterValue0",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue1",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue2",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue3",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue4",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue5",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue6",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue7",new(u().SFFloat)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"articulationParameterCount",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterDesignatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterChangeIndicatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterIdPartAttachedToArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterTypeArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterArray",new(u().MFFloat)),new(p())(s().inputOutput,"center",new(u().SFVec3f)),new(p())(s().inputOutput,"collisionType",new(u().SFInt32)),new(p())(s().inputOutput,"deadReckoning",new(u().SFInt32)),new(p())(s().inputOutput,"detonationLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationRelativeLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationResult",new(u().SFInt32)),new(p())(s().inputOutput,"entityCategory",new(u().SFInt32)),new(p())(s().inputOutput,"entityCountry",new(u().SFInt32)),new(p())(s().inputOutput,"entityDomain",new(u().SFInt32)),new(p())(s().inputOutput,"entityExtra",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"entityKind",new(u().SFInt32)),new(p())(s().inputOutput,"entitySpecific",new(u().SFInt32)),new(p())(s().inputOutput,"entitySubCategory",new(u().SFInt32)),new(p())(s().inputOutput,"eventApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"eventEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"eventNumber",new(u().SFInt32)),new(p())(s().inputOutput,"eventSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"fired1",new(u().SFBool)),new(p())(s().inputOutput,"fired2",new(u().SFBool)),new(p())(s().inputOutput,"fireMissionIndex",new(u().SFInt32)),new(p())(s().inputOutput,"firingRange",new(u().SFFloat)),new(p())(s().inputOutput,"firingRate",new(u().SFInt32)),new(p())(s().inputOutput,"forceID",new(u().SFInt32)),new(p())(s().inputOutput,"fuse",new(u().SFInt32)),new(p())(s().inputOutput,"linearVelocity",new(u().SFVec3f)),new(p())(s().inputOutput,"linearAcceleration",new(u().SFVec3f)),new(p())(s().inputOutput,"marking",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"munitionApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"munitionEndPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"munitionEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionQuantity",new(u().SFInt32)),new(p())(s().inputOutput,"munitionSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionStartPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rotation",new(u().SFRotation)),new(p())(s().inputOutput,"scale",new(u().SFVec3f)(1,1,1)),new(p())(s().inputOutput,"scaleOrientation",new(u().SFRotation)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"translation",new(u().SFVec3f)),new(p())(s().inputOutput,"warhead",new(u().SFInt32)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"articulationParameterValue0_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue1_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue2_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue3_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue4_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue5_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue6_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue7_changed",new(u().SFFloat)),new(p())(s().outputOnly,"collideTime",new(u().SFTime)),new(p())(s().outputOnly,"detonateTime",new(u().SFTime)),new(p())(s().outputOnly,"firedTime",new(u().SFTime)),new(p())(s().outputOnly,"isCollided",new(u().SFBool)),new(p())(s().outputOnly,"isDetonated",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().initializeOnly,"rtpHeaderExpected",new(u().SFBool))]),getTypeName:function(){return"EspduTransform"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){_().prototype.initialize.call(this),E().prototype.initialize.call(this)}});const P=N;F().set("x_ite/Components/DIS/EspduTransform",P);const v=P,C=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Grouping/X3DBoundedObject");var X=t.n(C);function V(t){E().call(this,t),X().call(this,t),this.addType(s().ReceiverPdu)}V.prototype=Object.assign(Object.create(E().prototype),X().prototype,{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"receivedPower",new(u().SFFloat)),new(p())(s().inputOutput,"receiverState",new(u().SFInt32)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"transmitterEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterRadioID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),getTypeName:function(){return"ReceiverPdu"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){E().prototype.initialize.call(this),X().prototype.initialize.call(this)},dispose:function(){X().prototype.dispose.call(this),E().prototype.dispose.call(this)}});const x=V;F().set("x_ite/Components/DIS/ReceiverPdu",x);const R=x;function z(t){E().call(this,t),X().call(this,t),this.addType(s().SignalPdu)}z.prototype=Object.assign(Object.create(E().prototype),X().prototype,{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"data",new(u().MFInt32)),new(p())(s().inputOutput,"dataLength",new(u().SFInt32)),new(p())(s().inputOutput,"encodingScheme",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"sampleRate",new(u().SFInt32)),new(p())(s().inputOutput,"samples",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"tdlType",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),getTypeName:function(){return"SignalPdu"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){E().prototype.initialize.call(this),X().prototype.initialize.call(this)},dispose:function(){X().prototype.dispose.call(this),E().prototype.dispose.call(this)}});const M=z;F().set("x_ite/Components/DIS/SignalPdu",M);const A=M;function j(t){E().call(this,t),X().call(this,t),this.addType(s().TransmitterPdu)}j.prototype=Object.assign(Object.create(E().prototype),X().prototype,{constructor:j,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"antennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"antennaPatternLength",new(u().SFInt32)),new(p())(s().inputOutput,"antennaPatternType",new(u().SFInt32)),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"cryptoKeyID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoSystem",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"frequency",new(u().SFInt32)),new(p())(s().inputOutput,"inputSource",new(u().SFInt32)),new(p())(s().inputOutput,"lengthOfModulationParameters",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeDetail",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeMajor",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSpreadSpectrum",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSystem",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"power",new(u().SFFloat)),new(p())(s().inputOutput,"radioEntityTypeCategory",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeCountry",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeDomain",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeKind",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclature",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclatureVersion",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"relativeAntennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitFrequencyBandwidth",new(u().SFFloat)),new(p())(s().inputOutput,"transmitState",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),getTypeName:function(){return"TransmitterPdu"},getComponentName:function(){return"DIS"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){E().prototype.initialize.call(this),X().prototype.initialize.call(this)},dispose:function(){X().prototype.dispose.call(this),E().prototype.dispose.call(this)}});const k=j;F().set("x_ite/Components/DIS/TransmitterPdu",k);const q=k;e().addComponent({name:"DIS",types:{DISEntityManager:y,DISEntityTypeMapping:T,EspduTransform:v,ReceiverPdu:R,SignalPdu:A,TransmitterPdu:q},abstractTypes:{}});const H=void 0;F().set("assets/components/DIS",H)})();
|