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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: IndexedQuadSet
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-CADGeometry
|
|
5
5
|
categories: [components, CADGeometry]
|
|
6
6
|
tags: [IndexedQuadSet, CADGeometry]
|
|
@@ -13,9 +13,9 @@ tags: [IndexedQuadSet, CADGeometry]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
IndexedQuadSet is a geometry node that defines quadrilaterals. IndexedQuadSet can contain Color
|
|
16
|
+
IndexedQuadSet is a geometry node that defines planar quadrilaterals. IndexedQuadSet contains a Coordinate or CoordinateDouble node, and can also contain Color or ColorRGBA, Normal and TextureCoordinate nodes.
|
|
17
17
|
|
|
18
|
-
The IndexedQuadSet node belongs to the **CADGeometry** component and its default container field is *geometry.* It is available
|
|
18
|
+
The IndexedQuadSet node belongs to the **CADGeometry** component and its default container field is *geometry.* It is available from X3D version 3.1 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,23 +30,25 @@ The IndexedQuadSet node belongs to the **CADGeometry** component and its default
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
#### Hint
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
### MFInt32 [in] **set_index** <small>[0,∞)</small>
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Input field *set_index*.
|
|
42
42
|
|
|
43
43
|
### SFBool [ ] **solid** TRUE
|
|
44
44
|
|
|
45
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
45
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
46
46
|
|
|
47
|
-
####
|
|
47
|
+
#### Hints
|
|
48
48
|
|
|
49
|
-
-
|
|
49
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
50
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
51
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
50
52
|
|
|
51
53
|
#### Warning
|
|
52
54
|
|
|
@@ -54,35 +56,49 @@ Setting solid true means draw only one side of polygons (backface culling on), s
|
|
|
54
56
|
|
|
55
57
|
### SFBool [ ] **ccw** TRUE
|
|
56
58
|
|
|
57
|
-
*ccw*
|
|
59
|
+
*ccw* defines clockwise/counterclockwise ordering of vertex coordinates, which in turn defines front/back orientation of polygon normals according to Right-Hand Rule (RHR).
|
|
58
60
|
|
|
59
|
-
####
|
|
61
|
+
#### Hints
|
|
60
62
|
|
|
61
|
-
- *ccw
|
|
63
|
+
- A good debugging technique for problematic polygons is to try changing the value of *ccw*, which can reverse solid effects (single-sided backface culling) and normal-vector direction.
|
|
64
|
+
- [Clockwise](https://en.wikipedia.org/wiki/Clockwise){:target="_blank"}
|
|
65
|
+
|
|
66
|
+
#### Warning
|
|
67
|
+
|
|
68
|
+
- Consistent and correct ordering of left-handed or right-handed point sequences is important throughout the coord array of point values.
|
|
62
69
|
|
|
63
70
|
### SFBool [ ] **colorPerVertex** TRUE
|
|
64
71
|
|
|
65
|
-
Whether Color
|
|
72
|
+
Whether Color or ColorRGBA values are applied to each point vertex (true) or to each polygon face (false).
|
|
66
73
|
|
|
67
|
-
####
|
|
74
|
+
#### Hint
|
|
68
75
|
|
|
69
76
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
70
77
|
|
|
78
|
+
#### Warnings
|
|
79
|
+
|
|
80
|
+
- The provided value of IndexedQuadSet *colorPerVertex* field is ignored and always treated as true.
|
|
81
|
+
- If child Color or ColorRGBA node is not provided, then geometry is rendered using corresponding Appearance and material/texture values.
|
|
82
|
+
|
|
71
83
|
### SFBool [ ] **normalPerVertex** TRUE
|
|
72
84
|
|
|
73
|
-
Whether Normal node vector values are applied to each vertex (true) or to each polygon face (false).
|
|
85
|
+
Whether Normal node vector values are applied to each point vertex (true) or to each polygon face (false).
|
|
86
|
+
|
|
87
|
+
#### Hint
|
|
88
|
+
|
|
89
|
+
- If no child Normal node is provided, the X3D browser shall automatically generate normals, using creaseAngle to determine smoothed shading across shared vertices.
|
|
74
90
|
|
|
75
91
|
### MFInt32 [ ] **index** [ ] <small>[0,∞)</small>
|
|
76
92
|
|
|
77
|
-
*index* values provide order in which coordinates are applied. Order starts at index 0, commas are optional between sets. Four unique indices are defined for each quadrilateral.
|
|
93
|
+
*index* values provide order in which coordinates are applied. Order starts at *index* 0, commas are optional between sets. Four unique indices are defined for each quadrilateral.
|
|
78
94
|
|
|
79
|
-
#### Warning
|
|
95
|
+
#### Warning
|
|
80
96
|
|
|
81
97
|
- -1 sentinel values are not allowed.
|
|
82
98
|
|
|
83
99
|
### MFNode [in, out] **attrib** [ ] <small>[X3DVertexAttributeNode]</small>
|
|
84
100
|
|
|
85
|
-
|
|
101
|
+
Single contained FloatVertexAttribute node that can specify list of per-vertex attribute information for programmable shaders.
|
|
86
102
|
|
|
87
103
|
#### Hint
|
|
88
104
|
|
|
@@ -94,7 +110,7 @@ Single contained FogCoordinate node that can specify depth parameters for fog in
|
|
|
94
110
|
|
|
95
111
|
### SFNode [in, out] **color** NULL <small>[X3DColorNode]</small>
|
|
96
112
|
|
|
97
|
-
Single contained Color or ColorRGBA node that can specify color values applied to corresponding vertices according to colorIndex and colorPerVertex fields.
|
|
113
|
+
Single contained Color or ColorRGBA node that can specify *color* values applied to corresponding vertices according to colorIndex and colorPerVertex fields.
|
|
98
114
|
|
|
99
115
|
### SFNode [in, out] **texCoord** NULL <small>[X3DTextureCoordinateNode]</small>
|
|
100
116
|
|
|
@@ -108,18 +124,31 @@ Single contained Normal node that can specify perpendicular vectors for correspo
|
|
|
108
124
|
|
|
109
125
|
- Useful for special effects. Normal vector computation by 3D graphics hardware is quite fast so adding normals to a scene is typically unnecessary.
|
|
110
126
|
|
|
127
|
+
#### Warning
|
|
128
|
+
|
|
129
|
+
- *normal* vectors increase file size, typically doubling geometry definitions.
|
|
130
|
+
|
|
111
131
|
### SFNode [in, out] **coord** NULL <small>[X3DCoordinateNode]</small>
|
|
112
132
|
|
|
113
133
|
Single contained Coordinate or CoordinateDouble node that can specify a list of vertex values.
|
|
114
134
|
|
|
115
|
-
##
|
|
135
|
+
## Advisories
|
|
116
136
|
|
|
117
137
|
### Hints
|
|
118
138
|
|
|
139
|
+
- [Quadrilateral](https://en.wikipedia.org/wiki/Quadrilateral){:target="_blank"}
|
|
140
|
+
- [Quadrilateral](https://en.wikipedia.org/wiki/Quadrilateral){:target="_blank"}
|
|
141
|
+
- Color, normal and texCoord values are applied in the same order as coord values.
|
|
119
142
|
- Insert a Shape node before adding geometry or Appearance.
|
|
120
|
-
-
|
|
121
|
-
-
|
|
143
|
+
- For advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.
|
|
144
|
+
- [X3D for Advanced Modeling (X3D4AM) slideset](https://x3dgraphics.com/slidesets/X3dForAdvancedModeling/ComputerAidedDesignInterchangeProfile.pdf){:target="_blank"}
|
|
145
|
+
|
|
146
|
+
### Warnings
|
|
147
|
+
|
|
148
|
+
- Requires X3D `profile='Full'` or else include `<component name='CADGeometry' level='1'/>`
|
|
149
|
+
- Rendering characteristics are undefined if polygons are not planar.
|
|
150
|
+
- Avoid self-intersecting polygon line segments, otherwise defined geometry is irregular and rendering results are undefined.
|
|
122
151
|
|
|
123
|
-
##
|
|
152
|
+
## See Also
|
|
124
153
|
|
|
125
|
-
- [X3D Specification of IndexedQuadSet](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/CADGeometry.html#IndexedQuadSet){:target="_blank"}
|
|
154
|
+
- [X3D Specification of IndexedQuadSet node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/CADGeometry.html#IndexedQuadSet){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: QuadSet
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-CADGeometry
|
|
5
5
|
categories: [components, CADGeometry]
|
|
6
6
|
tags: [QuadSet, CADGeometry]
|
|
@@ -13,9 +13,9 @@ tags: [QuadSet, CADGeometry]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
QuadSet is a geometry node that defines quadrilaterals. QuadSet can contain Color
|
|
16
|
+
QuadSet is a geometry node that defines planar quadrilaterals. QuadSet contains a Coordinate or CoordinateDouble node, and can also contain Color or ColorRGBA, Normal and TextureCoordinate nodes.
|
|
17
17
|
|
|
18
|
-
The QuadSet node belongs to the **CADGeometry** component and its default container field is *geometry.* It is available
|
|
18
|
+
The QuadSet node belongs to the **CADGeometry** component and its default container field is *geometry.* It is available from X3D version 3.1 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,15 +30,21 @@ The QuadSet node belongs to the **CADGeometry** component and its default contai
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFBool [ ] **solid** TRUE
|
|
36
40
|
|
|
37
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
41
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
38
42
|
|
|
39
|
-
####
|
|
43
|
+
#### Hints
|
|
40
44
|
|
|
41
|
-
-
|
|
45
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
46
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
47
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
42
48
|
|
|
43
49
|
#### Warning
|
|
44
50
|
|
|
@@ -46,27 +52,41 @@ Setting solid true means draw only one side of polygons (backface culling on), s
|
|
|
46
52
|
|
|
47
53
|
### SFBool [ ] **ccw** TRUE
|
|
48
54
|
|
|
49
|
-
*ccw*
|
|
55
|
+
*ccw* defines clockwise/counterclockwise ordering of vertex coordinates, which in turn defines front/back orientation of polygon normals according to Right-Hand Rule (RHR).
|
|
50
56
|
|
|
51
|
-
####
|
|
57
|
+
#### Hints
|
|
52
58
|
|
|
53
|
-
- *ccw
|
|
59
|
+
- A good debugging technique for problematic polygons is to try changing the value of *ccw*, which can reverse solid effects (single-sided backface culling) and normal-vector direction.
|
|
60
|
+
- [Clockwise](https://en.wikipedia.org/wiki/Clockwise){:target="_blank"}
|
|
61
|
+
|
|
62
|
+
#### Warning
|
|
63
|
+
|
|
64
|
+
- Consistent and correct ordering of left-handed or right-handed point sequences is important throughout the coord array of point values.
|
|
54
65
|
|
|
55
66
|
### SFBool [ ] **colorPerVertex** TRUE
|
|
56
67
|
|
|
57
|
-
Whether Color
|
|
68
|
+
Whether Color or ColorRGBA values are applied to each point vertex (true) or to each polygon face (false).
|
|
58
69
|
|
|
59
|
-
####
|
|
70
|
+
#### Hint
|
|
60
71
|
|
|
61
72
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
62
73
|
|
|
74
|
+
#### Warnings
|
|
75
|
+
|
|
76
|
+
- The provided value of QuadSet *colorPerVertex* field is ignored and always treated as true.
|
|
77
|
+
- If child Color or ColorRGBA node is not provided, then geometry is rendered using corresponding Appearance and material/texture values.
|
|
78
|
+
|
|
63
79
|
### SFBool [ ] **normalPerVertex** TRUE
|
|
64
80
|
|
|
65
|
-
Whether Normal node vector values are applied to each vertex (true) or to each polygon face (false).
|
|
81
|
+
Whether Normal node vector values are applied to each point vertex (true) or to each polygon face (false).
|
|
82
|
+
|
|
83
|
+
#### Hint
|
|
84
|
+
|
|
85
|
+
- If no child Normal node is provided, the X3D browser shall automatically generate normals, using creaseAngle to determine smoothed shading across shared vertices.
|
|
66
86
|
|
|
67
87
|
### MFNode [in, out] **attrib** [ ] <small>[X3DVertexAttributeNode]</small>
|
|
68
88
|
|
|
69
|
-
|
|
89
|
+
Single contained FloatVertexAttribute node that can specify list of per-vertex attribute information for programmable shaders.
|
|
70
90
|
|
|
71
91
|
#### Hint
|
|
72
92
|
|
|
@@ -78,7 +98,7 @@ Single contained FogCoordinate node that can specify depth parameters for fog in
|
|
|
78
98
|
|
|
79
99
|
### SFNode [in, out] **color** NULL <small>[X3DColorNode]</small>
|
|
80
100
|
|
|
81
|
-
Single contained Color or ColorRGBA node that can specify color values applied to corresponding vertices according to colorIndex and colorPerVertex fields.
|
|
101
|
+
Single contained Color or ColorRGBA node that can specify *color* values applied to corresponding vertices according to colorIndex and colorPerVertex fields.
|
|
82
102
|
|
|
83
103
|
### SFNode [in, out] **texCoord** NULL <small>[X3DTextureCoordinateNode]</small>
|
|
84
104
|
|
|
@@ -92,22 +112,34 @@ Single contained Normal node that can specify perpendicular vectors for correspo
|
|
|
92
112
|
|
|
93
113
|
- Useful for special effects. Normal vector computation by 3D graphics hardware is quite fast so adding normals to a scene is typically unnecessary.
|
|
94
114
|
|
|
115
|
+
#### Warning
|
|
116
|
+
|
|
117
|
+
- *normal* vectors increase file size, typically doubling geometry definitions.
|
|
118
|
+
|
|
95
119
|
### SFNode [in, out] **coord** NULL <small>[X3DCoordinateNode]</small>
|
|
96
120
|
|
|
97
121
|
Single contained Coordinate or CoordinateDouble node that can specify a list of vertex values.
|
|
98
122
|
|
|
99
|
-
##
|
|
123
|
+
## Advisories
|
|
100
124
|
|
|
101
125
|
### Hints
|
|
102
126
|
|
|
127
|
+
- [Quadrilateral](https://en.wikipedia.org/wiki/Quadrilateral){:target="_blank"}
|
|
128
|
+
- Color, normal and texCoord values are applied in the same order as coord values.
|
|
103
129
|
- Insert a Shape node before adding geometry or Appearance.
|
|
104
|
-
-
|
|
105
|
-
-
|
|
130
|
+
- For advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.
|
|
131
|
+
- [X3D for Advanced Modeling (X3D4AM) slideset](https://x3dgraphics.com/slidesets/X3dForAdvancedModeling/ComputerAidedDesignInterchangeProfile.pdf){:target="_blank"}
|
|
132
|
+
|
|
133
|
+
### Warnings
|
|
134
|
+
|
|
135
|
+
- Requires X3D `profile='Full'` or else include `<component name='CADGeometry' level='1'/>`
|
|
136
|
+
- Rendering characteristics are undefined if polygons are not planar.
|
|
137
|
+
- Avoid self-intersecting polygon line segments, otherwise defined geometry is irregular and rendering results are undefined.
|
|
106
138
|
|
|
107
139
|
## Example
|
|
108
140
|
|
|
109
141
|
<x3d-canvas src="https://create3000.github.io/media/examples/CADGeometry/QuadSet/QuadSet.x3d" update="auto"></x3d-canvas>
|
|
110
142
|
|
|
111
|
-
##
|
|
143
|
+
## See Also
|
|
112
144
|
|
|
113
|
-
- [X3D Specification of QuadSet](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/CADGeometry.html#QuadSet){:target="_blank"}
|
|
145
|
+
- [X3D Specification of QuadSet node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/CADGeometry.html#QuadSet){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MetadataBoolean
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Core
|
|
5
5
|
categories: [components, Core]
|
|
6
6
|
tags: [MetadataBoolean, Core]
|
|
@@ -13,9 +13,9 @@ tags: [MetadataBoolean, Core]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MetadataBoolean contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata node may be provided by a single child Metadata node with containerField=
|
|
16
|
+
MetadataBoolean contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata* node may be provided by a single child Metadata* node with `containerField='metadata'.`
|
|
17
17
|
|
|
18
|
-
The MetadataBoolean node belongs to the **Core** component and its default container field is *metadata.* It is available
|
|
18
|
+
The MetadataBoolean node belongs to the **Core** component and its default container field is *metadata.* It is available from X3D version 3.3 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,41 +30,52 @@ The MetadataBoolean node belongs to the **Core** component and its default conta
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFString [in, out] **name** ""
|
|
36
40
|
|
|
37
|
-
Depending on the metadata vocabulary, the attribute name is usually required for metadata nodes.
|
|
41
|
+
Depending on the metadata vocabulary, the attribute *name* is usually required for metadata nodes.
|
|
42
|
+
|
|
43
|
+
#### Hints
|
|
44
|
+
|
|
45
|
+
- Well-defined names can simplify design and debugging through improved author understanding.
|
|
46
|
+
- [X3D Scene Authoring Hints, Naming Conventions](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions){:target="_blank"}
|
|
38
47
|
|
|
39
48
|
#### Warning
|
|
40
49
|
|
|
41
|
-
-
|
|
50
|
+
- *name* field is not included if this instance is a USE node, in order to avoid potential mismatches.
|
|
42
51
|
|
|
43
52
|
### SFString [in, out] **reference** ""
|
|
44
53
|
|
|
45
|
-
|
|
54
|
+
Reference to the metadata standard or definition defining this particular metadata value.
|
|
46
55
|
|
|
47
56
|
### MFBool [in, out] **value** [ ]
|
|
48
57
|
|
|
49
|
-
The value attribute is a strictly typed data array providing relevant metadata information.
|
|
58
|
+
The *value* attribute is a strictly typed data array providing relevant metadata information.
|
|
50
59
|
|
|
51
60
|
#### Warning
|
|
52
61
|
|
|
53
62
|
- Use lower-case values ("true false") for .x3d XML encoding, and upper-case values ("TRUE FALSE") for .x3dv ClassicVRML encoding.
|
|
54
63
|
|
|
55
|
-
|
|
64
|
+
## Advisories
|
|
56
65
|
|
|
57
|
-
|
|
66
|
+
### Hints
|
|
58
67
|
|
|
59
|
-
|
|
68
|
+
- Use `containerField='value'` if the parent node is MetadataSet.
|
|
69
|
+
- [Each of the Metadata nodes are allowed as top-level root nodes in a scene, be sure to explicitly define `containerField='metadata'.`](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-DIS/Part01/concepts.html#Rootnodes){:target="_blank"}
|
|
70
|
+
- If present, an IS statement is the first child within any other node.
|
|
71
|
+
- An IS statement precedes any sibling Metadata* node, which in turn precedes any other sibling nodes.
|
|
72
|
+
- Comments are not readable when a model file is loaded for viewing, but WorldInfo and Metadata* nodes are persistent and inspectable at run time.
|
|
73
|
+
- [X3D for Web Authors, Chapter 15, Metadata Information](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/Chapter15-MetadataInformation.html){:target="_blank"}
|
|
60
74
|
|
|
61
|
-
###
|
|
75
|
+
### Warning
|
|
62
76
|
|
|
63
|
-
-
|
|
64
|
-
- If a metadata node is needed as a top-level root node for the scene, first insert a parent WorldInfo (or WorldInfo/MetadataSet) to contain it.
|
|
65
|
-
- An IS statement precedes any sibling Metadata node, which in turn precedes any other sibling nodes.
|
|
77
|
+
- Metadata nodes can only contain other Metadata nodes.
|
|
66
78
|
|
|
67
|
-
##
|
|
79
|
+
## See Also
|
|
68
80
|
|
|
69
|
-
- [X3D Specification of MetadataBoolean](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/core.html#MetadataBoolean){:target="_blank"}
|
|
70
|
-
- [X3D for Web Authors, Chapter 15, Metadata Information](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/Chapter15-MetadataInformation.html){:target="_blank"}
|
|
81
|
+
- [X3D Specification of MetadataBoolean node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/core.html#MetadataBoolean){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MetadataDouble
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Core
|
|
5
5
|
categories: [components, Core]
|
|
6
6
|
tags: [MetadataDouble, Core]
|
|
@@ -13,9 +13,9 @@ tags: [MetadataDouble, Core]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MetadataDouble contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata node may be provided by a single child Metadata node with containerField=
|
|
16
|
+
MetadataDouble contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata* node may be provided by a single child Metadata* node with `containerField='metadata'.`
|
|
17
17
|
|
|
18
|
-
The MetadataDouble node belongs to the **Core** component and its default container field is *metadata.* It is available
|
|
18
|
+
The MetadataDouble node belongs to the **Core** component and its default container field is *metadata.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,38 +30,53 @@ The MetadataDouble node belongs to the **Core** component and its default contai
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFString [in, out] **name** ""
|
|
36
40
|
|
|
37
|
-
Depending on the metadata vocabulary, the attribute name is usually required for metadata nodes.
|
|
41
|
+
Depending on the metadata vocabulary, the attribute *name* is usually required for metadata nodes.
|
|
42
|
+
|
|
43
|
+
#### Hints
|
|
44
|
+
|
|
45
|
+
- Well-defined names can simplify design and debugging through improved author understanding.
|
|
46
|
+
- [X3D Scene Authoring Hints, Naming Conventions](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions){:target="_blank"}
|
|
38
47
|
|
|
39
48
|
#### Warning
|
|
40
49
|
|
|
41
|
-
-
|
|
50
|
+
- *name* field is not included if this instance is a USE node, in order to avoid potential mismatches.
|
|
42
51
|
|
|
43
52
|
### SFString [in, out] **reference** ""
|
|
44
53
|
|
|
45
|
-
|
|
54
|
+
Reference to the metadata standard or definition defining this particular metadata value.
|
|
46
55
|
|
|
47
56
|
### MFDouble [in, out] **value** [ ]
|
|
48
57
|
|
|
49
|
-
The value attribute is a strictly typed data array providing relevant metadata information.
|
|
58
|
+
The *value* attribute is a strictly typed data array providing relevant metadata information.
|
|
50
59
|
|
|
51
60
|
#### Hint
|
|
52
61
|
|
|
53
|
-
- Many XML tools substitute XML character references automatically if needed (such as &#38; for & ampersand, or &#34; for " quotation
|
|
62
|
+
- 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).
|
|
54
63
|
|
|
55
|
-
##
|
|
64
|
+
## Advisories
|
|
56
65
|
|
|
57
66
|
### Hints
|
|
58
67
|
|
|
59
|
-
- Use containerField=
|
|
60
|
-
-
|
|
61
|
-
-
|
|
68
|
+
- Use `containerField='value'` if the parent node is MetadataSet.
|
|
69
|
+
- [Each of the Metadata nodes are allowed as top-level root nodes in a scene, be sure to explicitly define `containerField='metadata'.`](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-DIS/Part01/concepts.html#Rootnodes){:target="_blank"}
|
|
70
|
+
- If present, an IS statement is the first child within any other node.
|
|
71
|
+
- An IS statement precedes any sibling Metadata* node, which in turn precedes any other sibling nodes.
|
|
62
72
|
- The choice of MetadataDouble versus MetadataFloat usually depends on the relevant tool utilizing the value, or else the relevant metadata reference defining the value.
|
|
73
|
+
- Comments are not readable when a model file is loaded for viewing, but WorldInfo and Metadata* nodes are persistent and inspectable at run time.
|
|
74
|
+
- [X3D for Web Authors, Chapter 15, Metadata Information](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/Chapter15-MetadataInformation.html){:target="_blank"}
|
|
63
75
|
|
|
64
|
-
|
|
76
|
+
### Warning
|
|
65
77
|
|
|
66
|
-
-
|
|
67
|
-
|
|
78
|
+
- Metadata nodes can only contain other Metadata nodes.
|
|
79
|
+
|
|
80
|
+
## See Also
|
|
81
|
+
|
|
82
|
+
- [X3D Specification of MetadataDouble node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/core.html#MetadataDouble){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MetadataFloat
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Core
|
|
5
5
|
categories: [components, Core]
|
|
6
6
|
tags: [MetadataFloat, Core]
|
|
@@ -13,9 +13,9 @@ tags: [MetadataFloat, Core]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MetadataFloat contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata node may be provided by a single child Metadata node with containerField=
|
|
16
|
+
MetadataFloat contains a typed list of values providing metadata information about its parent node. Further information about this specific Metadata* node may be provided by a single child Metadata* node with `containerField='metadata'.`
|
|
17
17
|
|
|
18
|
-
The MetadataFloat node belongs to the **Core** component and its default container field is *metadata.* It is available
|
|
18
|
+
The MetadataFloat node belongs to the **Core** component and its default container field is *metadata.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,38 +30,53 @@ The MetadataFloat node belongs to the **Core** component and its default contain
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFString [in, out] **name** ""
|
|
36
40
|
|
|
37
|
-
Depending on the metadata vocabulary, the attribute name is usually required for metadata nodes.
|
|
41
|
+
Depending on the metadata vocabulary, the attribute *name* is usually required for metadata nodes.
|
|
42
|
+
|
|
43
|
+
#### Hints
|
|
44
|
+
|
|
45
|
+
- Well-defined names can simplify design and debugging through improved author understanding.
|
|
46
|
+
- [X3D Scene Authoring Hints, Naming Conventions](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#NamingConventions){:target="_blank"}
|
|
38
47
|
|
|
39
48
|
#### Warning
|
|
40
49
|
|
|
41
|
-
-
|
|
50
|
+
- *name* field is not included if this instance is a USE node, in order to avoid potential mismatches.
|
|
42
51
|
|
|
43
52
|
### SFString [in, out] **reference** ""
|
|
44
53
|
|
|
45
|
-
|
|
54
|
+
Reference to the metadata standard or definition defining this particular metadata value.
|
|
46
55
|
|
|
47
56
|
### MFFloat [in, out] **value** [ ]
|
|
48
57
|
|
|
49
|
-
The value attribute is a strictly typed data array providing relevant metadata information.
|
|
58
|
+
The *value* attribute is a strictly typed data array providing relevant metadata information.
|
|
50
59
|
|
|
51
60
|
#### Hint
|
|
52
61
|
|
|
53
|
-
- Many XML tools substitute XML character references automatically if needed (such as &#38; for & ampersand, or &#34; for " quotation
|
|
62
|
+
- 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).
|
|
54
63
|
|
|
55
|
-
##
|
|
64
|
+
## Advisories
|
|
56
65
|
|
|
57
66
|
### Hints
|
|
58
67
|
|
|
59
|
-
- Use containerField=
|
|
60
|
-
-
|
|
61
|
-
-
|
|
68
|
+
- Use `containerField='value'` if the parent node is MetadataSet.
|
|
69
|
+
- [Each of the Metadata nodes are allowed as top-level root nodes in a scene, be sure to explicitly define `containerField='metadata'.`](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-DIS/Part01/concepts.html#Rootnodes){:target="_blank"}
|
|
70
|
+
- If present, an IS statement is the first child within any other node.
|
|
71
|
+
- An IS statement precedes any sibling Metadata* node, which in turn precedes any other sibling nodes.
|
|
62
72
|
- The choice of MetadataDouble versus MetadataFloat usually depends on the relevant tool utilizing the value, or else the relevant metadata reference defining the value.
|
|
73
|
+
- Comments are not readable when a model file is loaded for viewing, but WorldInfo and Metadata* nodes are persistent and inspectable at run time.
|
|
74
|
+
- [X3D for Web Authors, Chapter 15, Metadata Information](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter15-Metadata/Chapter15-MetadataInformation.html){:target="_blank"}
|
|
63
75
|
|
|
64
|
-
|
|
76
|
+
### Warning
|
|
65
77
|
|
|
66
|
-
-
|
|
67
|
-
|
|
78
|
+
- Metadata nodes can only contain other Metadata nodes.
|
|
79
|
+
|
|
80
|
+
## See Also
|
|
81
|
+
|
|
82
|
+
- [X3D Specification of MetadataFloat node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/core.html#MetadataFloat){:target="_blank"}
|