x_ite 8.8.7 → 8.9.1
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/Makefile +6 -0
- package/README.md +3 -7
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +129 -90
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1320 -166
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +29 -18
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +30 -25
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +23 -10
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +24 -9
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +215 -56
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +120 -10
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +58 -24
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +36 -30
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +44 -19
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +25 -13
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +4 -7
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +52 -4
- package/package.json +2 -1
- package/src/standard/Math/Geometry/Box2.js +12 -2
- package/src/standard/Math/Geometry/Box3.js +12 -2
- package/src/x_ite/Base/X3DObjectArrayField.js +3 -2
- package/src/x_ite/Base/X3DTypedArrayField.js +3 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +105 -68
- package/src/x_ite/Components/HAnim/HAnimMotion.js +3 -3
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +9 -7
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GLTF2Parser.js +316 -55
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- package/src/x_ite/Parser/SVGParser.js +1 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -13,9 +13,9 @@ tags: [BiquadFilter, Sound]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
BiquadFilter
|
|
16
|
+
BiquadFilter node is an AudioNode processor implementing common low-order filters. Low-order filters are the building blocks of basic tone controls (bass, mid, treble), graphic equalizers, and more advanced filters. Multiple BiquadFilter node filters can be combined to form more complex filters. The filter parameters such as frequency can be changed over time for filter sweeps, etc.
|
|
17
17
|
|
|
18
|
-
The BiquadFilter node belongs to the **Sound** component and its default container field is *children.* It is available
|
|
18
|
+
The BiquadFilter node belongs to the **Sound** component and its default container field is *children.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,44 +31,183 @@ The BiquadFilter node belongs to the **Sound** component and its default contain
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
39
|
+
|
|
34
40
|
### SFString [in, out] **description** ""
|
|
35
41
|
|
|
42
|
+
Author-provided prose that describes intended purpose of the url asset.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
47
|
+
|
|
36
48
|
### SFBool [in, out] **enabled** TRUE
|
|
37
49
|
|
|
50
|
+
Enables/disables node operation.
|
|
51
|
+
|
|
38
52
|
### SFFloat [in, out] **detune** 0 <small>[0,∞)</small>
|
|
39
53
|
|
|
54
|
+
The *detune* field forms a compound field together with playbackRate that together determine a computedPlaybackRate value.
|
|
55
|
+
|
|
56
|
+
#### Hint
|
|
57
|
+
|
|
58
|
+
- ComputedPlaybackRate(t) = playbackRate(t) * pow(2, *detune*(t) / 1200)
|
|
59
|
+
|
|
40
60
|
### SFFloat [in, out] **frequency** 350 <small>[0,∞)</small>
|
|
41
61
|
|
|
62
|
+
*frequency* at which the BiquadFilterNode operates, in Hz.
|
|
63
|
+
|
|
64
|
+
#### Hint
|
|
65
|
+
|
|
66
|
+
- [Wikipedia Hertz](https://en.wikipedia.org/wiki/Hertz){:target="_blank"}
|
|
67
|
+
|
|
42
68
|
### SFFloat [in, out] **gain** 1 <small>(-∞,∞)</small>
|
|
43
69
|
|
|
70
|
+
The *gain* field is a factor that represents the amount of linear amplification to apply to the output of the node.
|
|
71
|
+
|
|
72
|
+
#### Hint
|
|
73
|
+
|
|
74
|
+
- Negative *gain* factors negate the input signal.
|
|
75
|
+
|
|
76
|
+
#### Warning
|
|
77
|
+
|
|
78
|
+
- Decibel values shall not be used.
|
|
79
|
+
|
|
44
80
|
### SFFloat [in, out] **qualityFactor** 1 <small>[0,∞)</small>
|
|
45
81
|
|
|
82
|
+
*qualityFactor* is Quality Factor (Q) of the respective filter algorithm.
|
|
83
|
+
|
|
84
|
+
#### Hint
|
|
85
|
+
|
|
86
|
+
- [Wikipedia Q factor](https://en.wikipedia.org/wiki/Q_factor){:target="_blank"}
|
|
87
|
+
|
|
46
88
|
### SFTime [in, out] **tailTime** 0 <small>[0,∞)</small>
|
|
47
89
|
|
|
90
|
+
*tailTime* is duration of time that a node continues to provide output signal after the input signal becomes silent.
|
|
91
|
+
|
|
48
92
|
### SFString [in, out] **type** "LOWPASS" <small>["LOWPASS", "HIGHPASS", "BANDPASS", "LOWSHELF", "HIGHSHELF", "PEAKING", "NOTCH", "ALLPASS"]</small>
|
|
49
93
|
|
|
94
|
+
*type* selects which BiquadFilter algorithm is used.
|
|
95
|
+
|
|
96
|
+
#### Hint
|
|
97
|
+
|
|
98
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#enumdef-biquadfiltertype){:target="_blank"}
|
|
99
|
+
|
|
50
100
|
### SFInt32 [out] **channelCount**
|
|
51
101
|
|
|
102
|
+
*channelCount* reports number of channels provided by input nodes.
|
|
103
|
+
|
|
104
|
+
#### Hint
|
|
105
|
+
|
|
106
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcount){:target="_blank"}
|
|
107
|
+
|
|
52
108
|
### SFString [in, out] **channelCountMode** "MAX" <small>["MAX", "CLAMPED-MAX", "EXPLICIT"]</small>
|
|
53
109
|
|
|
110
|
+
*channelCountMode* determines how individual channels are counted when up-mixing and down-mixing connections to any inputs.
|
|
111
|
+
|
|
112
|
+
#### Hint
|
|
113
|
+
|
|
114
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcountmode){:target="_blank"}
|
|
115
|
+
|
|
54
116
|
### SFString [in, out] **channelInterpretation** "SPEAKERS" <small>["SPEAKERS", "DISCRETE"]</small>
|
|
55
117
|
|
|
118
|
+
*channelInterpretation* determines how individual channels are treated when up-mixing and down-mixing connections to any inputs.
|
|
119
|
+
|
|
120
|
+
#### Hint
|
|
121
|
+
|
|
122
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelinterpretation){:target="_blank"}
|
|
123
|
+
|
|
56
124
|
### SFTime [in, out] **startTime** 0 <small>(-∞,∞)</small>
|
|
57
125
|
|
|
126
|
+
Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
127
|
+
|
|
128
|
+
#### Hint
|
|
129
|
+
|
|
130
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
131
|
+
|
|
58
132
|
### SFTime [in, out] **resumeTime** 0 <small>(-∞,∞)</small>
|
|
59
133
|
|
|
134
|
+
When *resumeTime* becomes \<= time now, isPaused becomes false and AudioClip becomes active. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
135
|
+
|
|
136
|
+
#### Hint
|
|
137
|
+
|
|
138
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
139
|
+
|
|
60
140
|
### SFTime [in, out] **pauseTime** 0 <small>(-∞,∞)</small>
|
|
61
141
|
|
|
142
|
+
When time now \>= *pauseTime*, isPaused becomes true and AudioClip becomes paused. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
143
|
+
|
|
144
|
+
#### Hint
|
|
145
|
+
|
|
146
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
147
|
+
|
|
62
148
|
### SFTime [in, out] **stopTime** 0 <small>(-∞,∞)</small>
|
|
63
149
|
|
|
150
|
+
Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
151
|
+
|
|
152
|
+
#### Hint
|
|
153
|
+
|
|
154
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
155
|
+
|
|
156
|
+
#### Warnings
|
|
157
|
+
|
|
158
|
+
- An active TimeSensor node ignores set_cycleInterval and set_startTime events.
|
|
159
|
+
- An active TimeSensor node ignores set_stopTime event values less than or equal to startTime.
|
|
160
|
+
|
|
64
161
|
### SFBool [out] **isPaused**
|
|
65
162
|
|
|
163
|
+
*isPaused* true/false events are sent when AudioClip is paused/resumed.
|
|
164
|
+
|
|
165
|
+
#### Warning
|
|
166
|
+
|
|
167
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
168
|
+
|
|
66
169
|
### SFBool [out] **isActive**
|
|
67
170
|
|
|
171
|
+
*isActive* true/false events are sent when playback starts/stops.
|
|
172
|
+
|
|
173
|
+
#### Warning
|
|
174
|
+
|
|
175
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
176
|
+
|
|
68
177
|
### SFTime [out] **elapsedTime**
|
|
69
178
|
|
|
179
|
+
Current elapsed time since AudioClip activated/running, cumulative in seconds, and not counting any paused time.
|
|
180
|
+
|
|
181
|
+
#### Hint
|
|
182
|
+
|
|
183
|
+
- *elapsedTime* is a nonnegative SFTime duration interval, not an absolute clock time.
|
|
184
|
+
|
|
185
|
+
#### Warning
|
|
186
|
+
|
|
187
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
188
|
+
|
|
70
189
|
### MFNode [in, out] **children** [ ] <small>[X3DSoundChannelNode,X3DSoundProcessingNode,X3DSoundSourceNode]</small>
|
|
71
190
|
|
|
72
|
-
|
|
191
|
+
The *children* field specifies audio-graph sound sources providing input signals for this node. If multiple input signals are provided by the inputs *children* field, all channels are mixed together and merged prior to presentation.
|
|
192
|
+
|
|
193
|
+
#### Hint
|
|
194
|
+
|
|
195
|
+
- Can be original (DEF) or referenced (USE) nodes.
|
|
196
|
+
|
|
197
|
+
#### Warning
|
|
198
|
+
|
|
199
|
+
- Contained AudioClip or MovieTexture nodes must have `containerField='children'` to override otherwise-incorrect defaults.
|
|
200
|
+
|
|
201
|
+
## Advisories
|
|
202
|
+
|
|
203
|
+
### Hint
|
|
204
|
+
|
|
205
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#biquadfilternode){:target="_blank"}
|
|
206
|
+
|
|
207
|
+
### Warning
|
|
208
|
+
|
|
209
|
+
- Contained AudioClip or MovieTexture nodes must have `containerField='children'` to override otherwise-incorrect defaults.
|
|
210
|
+
|
|
211
|
+
## See Also
|
|
73
212
|
|
|
74
|
-
- [X3D Specification of BiquadFilter](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#BiquadFilter){:target="_blank"}
|
|
213
|
+
- [X3D Specification of BiquadFilter node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#BiquadFilter){:target="_blank"}
|
|
@@ -13,9 +13,9 @@ tags: [BufferAudioSource, Sound]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
BufferAudioSource
|
|
16
|
+
BufferAudioSource node represents a memory-resident audio asset that can contain one or more channels. Typically the length of the Pulse Coded Modulation (PCM) data is expected to be fairly short (usually somewhat less than a minute).
|
|
17
17
|
|
|
18
|
-
The BufferAudioSource node belongs to the **Sound** component and its default container field is *children.* It is available
|
|
18
|
+
The BufferAudioSource node belongs to the **Sound** component and its default container field is *children.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,34 +31,47 @@ The BufferAudioSource node belongs to the **Sound** component and its default co
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
39
|
+
|
|
34
40
|
### SFString [in, out] **description** ""
|
|
35
41
|
|
|
42
|
+
Author-provided prose that describes intended purpose of the url asset.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
47
|
+
|
|
36
48
|
### SFBool [in, out] **enabled** TRUE
|
|
37
49
|
|
|
50
|
+
Enables/disables node operation.
|
|
51
|
+
|
|
38
52
|
### SFBool [in, out] **load** TRUE
|
|
39
53
|
|
|
40
|
-
*load*=true means load immediately, load
|
|
54
|
+
*load*=true means *load* immediately, *load*=false means defer loading or else unload a previously loaded scene.
|
|
41
55
|
|
|
42
56
|
#### Hints
|
|
43
57
|
|
|
44
|
-
- Allows author to design when
|
|
58
|
+
- Allows author to design when Inline loading occurs via user interaction, event chains or scripting.
|
|
45
59
|
- Use a separate LoadSensor node to detect when loading is complete.
|
|
46
60
|
|
|
47
61
|
### MFString [in, out] **url** [ ] <small>[URI]</small>
|
|
48
62
|
|
|
49
|
-
Location and filename of
|
|
63
|
+
Location and filename of sound file. Support for .wav format is required, .midi format is recommended, other formats are optional.
|
|
50
64
|
|
|
51
65
|
#### Hints
|
|
52
66
|
|
|
53
|
-
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
67
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks. "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
68
|
+
- Alternative XML encoding for quotation mark " is &quot; (which is an example of a character entity).
|
|
69
|
+
- Can replace embedded blank(s) in *url* queries with %20 for each blank character.
|
|
70
|
+
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
54
71
|
|
|
55
72
|
#### Warning
|
|
56
73
|
|
|
57
|
-
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and
|
|
58
|
-
|
|
59
|
-
#### See Also
|
|
60
|
-
|
|
61
|
-
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
74
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https *url* addresses and paths in Unix-based operating systems are all case sensitive and intolerant of uppercase/lowercase mismatches.
|
|
62
75
|
|
|
63
76
|
### SFTime [in, out] **autoRefresh** 0 <small>[0,∞)</small>
|
|
64
77
|
|
|
@@ -87,46 +100,185 @@ Location and filename of image. Multiple locations are more reliable, and includ
|
|
|
87
100
|
|
|
88
101
|
### SFFloat [in, out] **gain** 1 <small>(-∞,∞)</small>
|
|
89
102
|
|
|
103
|
+
The *gain* field is a factor that represents the amount of linear amplification to apply to the output of the node.
|
|
104
|
+
|
|
105
|
+
#### Hint
|
|
106
|
+
|
|
107
|
+
- Negative *gain* factors negate the input signal.
|
|
108
|
+
|
|
109
|
+
#### Warning
|
|
110
|
+
|
|
111
|
+
- Decibel values shall not be used.
|
|
112
|
+
|
|
90
113
|
### MFFloat [in, out] **buffer** [ ] <small>[−1,1]</small>
|
|
91
114
|
|
|
115
|
+
*buffer* is a memory-resident audio asset that can contain one or more channels. *buffer* data format is non-interleaved 32-bit floating-point linear PCM values with a normal range of [−1,1], but values are not limited to this range.
|
|
116
|
+
|
|
117
|
+
#### Hint
|
|
118
|
+
|
|
119
|
+
- [Wikipedia Pulse-Code Modulation (PCM)](https://en.wikipedia.org/wiki/Pulse-code_modulation){:target="_blank"}
|
|
120
|
+
|
|
92
121
|
### SFFloat [in, out] **detune** 0 <small>[0,∞)</small>
|
|
93
122
|
|
|
123
|
+
The *detune* field forms a compound field together with playbackRate that together determine a computedPlaybackRate value.
|
|
124
|
+
|
|
125
|
+
#### Hint
|
|
126
|
+
|
|
127
|
+
- ComputedPlaybackRate(t) = playbackRate(t) * pow(2, *detune*(t) / 1200)
|
|
128
|
+
|
|
94
129
|
### SFTime [in, out] **bufferDuration** 0 <small>[0,∞)</small>
|
|
95
130
|
|
|
131
|
+
*bufferDuration* is duration in seconds to use from buffer field.
|
|
132
|
+
|
|
133
|
+
#### Hint
|
|
134
|
+
|
|
135
|
+
- Duration is a nonnegative SFTime duration interval, not an absolute clock time.
|
|
136
|
+
|
|
96
137
|
### SFTime [in, out] **loopStart** 0 <small>[0,∞)</small>
|
|
97
138
|
|
|
139
|
+
*loopStart* field is optional playhead position where looping begins if loop=true. If *loopStart* is greater than duration of buffer, looping starts at buffer end.
|
|
140
|
+
|
|
141
|
+
#### Hint
|
|
142
|
+
|
|
143
|
+
- *loopStart* represents a nonnegative SFTime duration interval, not an absolute clock time.
|
|
144
|
+
|
|
98
145
|
### SFTime [in, out] **loopEnd** 0 <small>[0,∞)</small>
|
|
99
146
|
|
|
147
|
+
*loopEnd* field is optional playhead position where looping ends if loop=true. If *loopEnd* value is zero, or if *loopEnd* is greater than duration of buffer, looping ends at buffer end.
|
|
148
|
+
|
|
149
|
+
#### Hint
|
|
150
|
+
|
|
151
|
+
- *loopEnd* represents a nonnegative SFTime duration interval, not an absolute clock time.
|
|
152
|
+
|
|
100
153
|
### SFInt32 [in, out] **numberOfChannels** 0 <small>[0,∞)</small>
|
|
101
154
|
|
|
155
|
+
*numberOfChannels* is number of audio channels found in this buffer source.
|
|
156
|
+
|
|
102
157
|
### SFFloat [in, out] **playbackRate** 1 <small>(-∞,∞)</small>
|
|
103
158
|
|
|
159
|
+
*playbackRate* field is speed at which to render the audio stream, and forms a compound field together with detune field
|
|
160
|
+
|
|
161
|
+
#### Hint
|
|
162
|
+
|
|
163
|
+
- Negative values play in reverse.
|
|
164
|
+
|
|
104
165
|
### SFFloat [in, out] **sampleRate** 0 <small>[0,∞)</small>
|
|
105
166
|
|
|
167
|
+
*sampleRate* field is sample-frames per second.
|
|
168
|
+
|
|
169
|
+
#### Hints
|
|
170
|
+
|
|
171
|
+
- Sample-rate converters (variable speed processors) are not supported in real-time processing.
|
|
172
|
+
- Nyquist frequency is half this *sampleRate* value.
|
|
173
|
+
- [Wikipedia Nyquist frequency](https://en.wikipedia.org/wiki/Nyquist_frequency){:target="_blank"}
|
|
174
|
+
|
|
106
175
|
### SFInt32 [out] **bufferLength**
|
|
107
176
|
|
|
177
|
+
*bufferLength* is length of buffer field in sample-frames.
|
|
178
|
+
|
|
108
179
|
### SFInt32 [out] **channelCount**
|
|
109
180
|
|
|
181
|
+
*channelCount* reports number of channels provided by input nodes.
|
|
182
|
+
|
|
183
|
+
#### Hint
|
|
184
|
+
|
|
185
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcount){:target="_blank"}
|
|
186
|
+
|
|
110
187
|
### SFString [in, out] **channelCountMode** "MAX" <small>["MAX", "CLAMPED-MAX", "EXPLICIT"]</small>
|
|
111
188
|
|
|
189
|
+
*channelCountMode* determines how individual channels are counted when up-mixing and down-mixing connections to any inputs.
|
|
190
|
+
|
|
191
|
+
#### Hint
|
|
192
|
+
|
|
193
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcountmode){:target="_blank"}
|
|
194
|
+
|
|
112
195
|
### SFString [in, out] **channelInterpretation** "SPEAKERS" <small>["SPEAKERS", "DISCRETE"]</small>
|
|
113
196
|
|
|
197
|
+
*channelInterpretation* determines how individual channels are treated when up-mixing and down-mixing connections to any inputs.
|
|
198
|
+
|
|
199
|
+
#### Hint
|
|
200
|
+
|
|
201
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelinterpretation){:target="_blank"}
|
|
202
|
+
|
|
114
203
|
### SFBool [in, out] **loop** FALSE
|
|
115
204
|
|
|
205
|
+
Repeat indefinitely when *loop*=true, repeat only once when *loop*=false.
|
|
206
|
+
|
|
116
207
|
### SFTime [in, out] **startTime** 0 <small>(-∞,∞)</small>
|
|
117
208
|
|
|
209
|
+
Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
210
|
+
|
|
211
|
+
#### Hint
|
|
212
|
+
|
|
213
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
214
|
+
|
|
118
215
|
### SFTime [in, out] **resumeTime** 0 <small>(-∞,∞)</small>
|
|
119
216
|
|
|
217
|
+
When *resumeTime* becomes \<= time now, isPaused becomes false and AudioClip becomes active. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
218
|
+
|
|
219
|
+
#### Hint
|
|
220
|
+
|
|
221
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
222
|
+
|
|
120
223
|
### SFTime [in, out] **pauseTime** 0 <small>(-∞,∞)</small>
|
|
121
224
|
|
|
225
|
+
When time now \>= *pauseTime*, isPaused becomes true and AudioClip becomes paused. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
226
|
+
|
|
227
|
+
#### Hint
|
|
228
|
+
|
|
229
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
230
|
+
|
|
122
231
|
### SFTime [in, out] **stopTime** 0 <small>(-∞,∞)</small>
|
|
123
232
|
|
|
233
|
+
Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
234
|
+
|
|
235
|
+
#### Hint
|
|
236
|
+
|
|
237
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
238
|
+
|
|
239
|
+
#### Warnings
|
|
240
|
+
|
|
241
|
+
- An active TimeSensor node ignores set_cycleInterval and set_startTime events.
|
|
242
|
+
- An active TimeSensor node ignores set_stopTime event values less than or equal to startTime.
|
|
243
|
+
|
|
124
244
|
### SFBool [out] **isPaused**
|
|
125
245
|
|
|
246
|
+
*isPaused* true/false events are sent when AudioClip is paused/resumed.
|
|
247
|
+
|
|
248
|
+
#### Warning
|
|
249
|
+
|
|
250
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
251
|
+
|
|
126
252
|
### SFBool [out] **isActive**
|
|
127
253
|
|
|
254
|
+
*isActive* true/false events are sent when playback starts/stops.
|
|
255
|
+
|
|
256
|
+
#### Warning
|
|
257
|
+
|
|
258
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
259
|
+
|
|
128
260
|
### SFTime [out] **elapsedTime**
|
|
129
261
|
|
|
130
|
-
|
|
262
|
+
Current elapsed time since AudioClip activated/running, cumulative in seconds, and not counting any paused time.
|
|
263
|
+
|
|
264
|
+
#### Hint
|
|
265
|
+
|
|
266
|
+
- *elapsedTime* is a nonnegative SFTime duration interval, not an absolute clock time.
|
|
267
|
+
|
|
268
|
+
#### Warning
|
|
269
|
+
|
|
270
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
271
|
+
|
|
272
|
+
## Advisories
|
|
273
|
+
|
|
274
|
+
### Hint
|
|
275
|
+
|
|
276
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#AudioBufferSourceNode){:target="_blank"}
|
|
277
|
+
|
|
278
|
+
### Warning
|
|
279
|
+
|
|
280
|
+
- For longer sounds, such as music soundtracks, streaming such as StreamAudioSource should be used.
|
|
281
|
+
|
|
282
|
+
## See Also
|
|
131
283
|
|
|
132
|
-
- [X3D Specification of BufferAudioSource](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#BufferAudioSource){:target="_blank"}
|
|
284
|
+
- [X3D Specification of BufferAudioSource node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#BufferAudioSource){:target="_blank"}
|
|
@@ -13,9 +13,9 @@ tags: [ChannelMerger, Sound]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ChannelMerger
|
|
16
|
+
ChannelMerger unites different input channels into a single output channel.
|
|
17
17
|
|
|
18
|
-
The ChannelMerger node belongs to the **Sound** component and its default container field is *children.* It is available
|
|
18
|
+
The ChannelMerger node belongs to the **Sound** component and its default container field is *children.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,20 +31,78 @@ The ChannelMerger node belongs to the **Sound** component and its default contai
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
39
|
+
|
|
34
40
|
### SFString [in, out] **description** ""
|
|
35
41
|
|
|
42
|
+
Author-provided prose that describes intended purpose of the url asset.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
47
|
+
|
|
36
48
|
### SFBool [in, out] **enabled** TRUE
|
|
37
49
|
|
|
50
|
+
Enables/disables node operation.
|
|
51
|
+
|
|
38
52
|
### SFFloat [in, out] **gain** 1 <small>(-∞,∞)</small>
|
|
39
53
|
|
|
54
|
+
The *gain* field is a factor that represents the amount of linear amplification to apply to the output of the node.
|
|
55
|
+
|
|
56
|
+
#### Hint
|
|
57
|
+
|
|
58
|
+
- Negative *gain* factors negate the input signal.
|
|
59
|
+
|
|
60
|
+
#### Warning
|
|
61
|
+
|
|
62
|
+
- Decibel values shall not be used.
|
|
63
|
+
|
|
40
64
|
### SFInt32 [out] **channelCount**
|
|
41
65
|
|
|
66
|
+
*channelCount* reports number of channels provided by input nodes.
|
|
67
|
+
|
|
68
|
+
#### Hint
|
|
69
|
+
|
|
70
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcount){:target="_blank"}
|
|
71
|
+
|
|
42
72
|
### SFString [in, out] **channelCountMode** "MAX" <small>["MAX", "CLAMPED-MAX", "EXPLICIT"]</small>
|
|
43
73
|
|
|
74
|
+
*channelCountMode* determines how individual channels are counted when up-mixing and down-mixing connections to any inputs.
|
|
75
|
+
|
|
76
|
+
#### Hint
|
|
77
|
+
|
|
78
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcountmode){:target="_blank"}
|
|
79
|
+
|
|
44
80
|
### SFString [in, out] **channelInterpretation** "SPEAKERS" <small>["SPEAKERS", "DISCRETE"]</small>
|
|
45
81
|
|
|
82
|
+
*channelInterpretation* determines how individual channels are treated when up-mixing and down-mixing connections to any inputs.
|
|
83
|
+
|
|
84
|
+
#### Hint
|
|
85
|
+
|
|
86
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelinterpretation){:target="_blank"}
|
|
87
|
+
|
|
46
88
|
### MFNode [in, out] **children** [ ] <small>[X3DSoundChannelNode,X3DSoundProcessingNode,X3DSoundSourceNode]</small>
|
|
47
89
|
|
|
48
|
-
|
|
90
|
+
The *children* field specifies audio-graph sound sources providing input signals for this node. If multiple input signals are provided by the inputs *children* field, all channels are mixed together and merged prior to presentation.
|
|
91
|
+
|
|
92
|
+
#### Hint
|
|
93
|
+
|
|
94
|
+
- Can be original (DEF) or referenced (USE) nodes.
|
|
95
|
+
|
|
96
|
+
#### Warning
|
|
97
|
+
|
|
98
|
+
- Contained AudioClip or MovieTexture nodes must have `containerField='children'` to override otherwise-incorrect defaults.
|
|
99
|
+
|
|
100
|
+
## Advisories
|
|
101
|
+
|
|
102
|
+
### Hint
|
|
103
|
+
|
|
104
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#channelmergernode){:target="_blank"}
|
|
105
|
+
|
|
106
|
+
## See Also
|
|
49
107
|
|
|
50
|
-
- [X3D Specification of ChannelMerger](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#ChannelMerger){:target="_blank"}
|
|
108
|
+
- [X3D Specification of ChannelMerger node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#ChannelMerger){:target="_blank"}
|
|
@@ -13,9 +13,9 @@ tags: [ChannelSelector, Sound]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ChannelSelector
|
|
16
|
+
ChannelSelector selects a single channel output from all input channels.
|
|
17
17
|
|
|
18
|
-
The ChannelSelector node belongs to the **Sound** component and its default container field is *children.* It is available
|
|
18
|
+
The ChannelSelector node belongs to the **Sound** component and its default container field is *children.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,22 +31,82 @@ The ChannelSelector node belongs to the **Sound** component and its default cont
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
39
|
+
|
|
34
40
|
### SFString [in, out] **description** ""
|
|
35
41
|
|
|
42
|
+
Author-provided prose that describes intended purpose of the url asset.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
47
|
+
|
|
36
48
|
### SFBool [in, out] **enabled** TRUE
|
|
37
49
|
|
|
50
|
+
Enables/disables node operation.
|
|
51
|
+
|
|
38
52
|
### SFFloat [in, out] **gain** 1 <small>(-∞,∞)</small>
|
|
39
53
|
|
|
54
|
+
The *gain* field is a factor that represents the amount of linear amplification to apply to the output of the node.
|
|
55
|
+
|
|
56
|
+
#### Hint
|
|
57
|
+
|
|
58
|
+
- Negative *gain* factors negate the input signal.
|
|
59
|
+
|
|
60
|
+
#### Warning
|
|
61
|
+
|
|
62
|
+
- Decibel values shall not be used.
|
|
63
|
+
|
|
40
64
|
### SFInt32 [in, out] **channelSelection** 0 <small>[0,∞)</small>
|
|
41
65
|
|
|
66
|
+
*channelSelection* is single channel of interest from those provided by input nodes.
|
|
67
|
+
|
|
42
68
|
### SFInt32 [out] **channelCount**
|
|
43
69
|
|
|
70
|
+
*channelCount* reports number of channels provided by input nodes.
|
|
71
|
+
|
|
72
|
+
#### Hint
|
|
73
|
+
|
|
74
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcount){:target="_blank"}
|
|
75
|
+
|
|
44
76
|
### SFString [in, out] **channelCountMode** "MAX" <small>["MAX", "CLAMPED-MAX", "EXPLICIT"]</small>
|
|
45
77
|
|
|
78
|
+
*channelCountMode* determines how individual channels are counted when up-mixing and down-mixing connections to any inputs.
|
|
79
|
+
|
|
80
|
+
#### Hint
|
|
81
|
+
|
|
82
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelcountmode){:target="_blank"}
|
|
83
|
+
|
|
46
84
|
### SFString [in, out] **channelInterpretation** "SPEAKERS" <small>["SPEAKERS", "DISCRETE"]</small>
|
|
47
85
|
|
|
86
|
+
*channelInterpretation* determines how individual channels are treated when up-mixing and down-mixing connections to any inputs.
|
|
87
|
+
|
|
88
|
+
#### Hint
|
|
89
|
+
|
|
90
|
+
- [W3C Web Audio API](https://www.w3.org/TR/webaudio/#dom-audionode-channelinterpretation){:target="_blank"}
|
|
91
|
+
|
|
48
92
|
### MFNode [in, out] **children** [ ] <small>[X3DSoundChannelNode,X3DSoundProcessingNode,X3DSoundSourceNode]</small>
|
|
49
93
|
|
|
50
|
-
|
|
94
|
+
The *children* field specifies audio-graph sound sources providing input signals for this node. If multiple input signals are provided by the inputs *children* field, all channels are mixed together and merged prior to presentation.
|
|
95
|
+
|
|
96
|
+
#### Hint
|
|
97
|
+
|
|
98
|
+
- Can be original (DEF) or referenced (USE) nodes.
|
|
99
|
+
|
|
100
|
+
#### Warning
|
|
101
|
+
|
|
102
|
+
- Contained AudioClip or MovieTexture nodes must have `containerField='children'` to override otherwise-incorrect defaults.
|
|
103
|
+
|
|
104
|
+
## Advisories
|
|
105
|
+
|
|
106
|
+
### Hint
|
|
107
|
+
|
|
108
|
+
- ChannelSelector is a utility node to complement ChannelSplitter.
|
|
109
|
+
|
|
110
|
+
## See Also
|
|
51
111
|
|
|
52
|
-
- [X3D Specification of ChannelSelector](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#ChannelSelector){:target="_blank"}
|
|
112
|
+
- [X3D Specification of ChannelSelector node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/sound.html#ChannelSelector){:target="_blank"}
|