@onerjs/core 8.48.8 → 8.49.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.
Files changed (70) hide show
  1. package/Animations/animation.d.ts +9 -0
  2. package/Animations/animation.js +9 -0
  3. package/Animations/animation.js.map +1 -1
  4. package/Animations/runtimeAnimation.js +28 -0
  5. package/Animations/runtimeAnimation.js.map +1 -1
  6. package/Culling/ray.core.d.ts +2 -1
  7. package/Culling/ray.core.js +7 -5
  8. package/Culling/ray.core.js.map +1 -1
  9. package/Culling/ray.js +3 -0
  10. package/Culling/ray.js.map +1 -1
  11. package/Engines/abstractEngine.js +2 -2
  12. package/Engines/abstractEngine.js.map +1 -1
  13. package/Engines/webgpuEngine.js +2 -0
  14. package/Engines/webgpuEngine.js.map +1 -1
  15. package/Layers/thinEffectLayer.js +8 -1
  16. package/Layers/thinEffectLayer.js.map +1 -1
  17. package/Lights/Clustered/clusteredLightContainer.js +8 -5
  18. package/Lights/Clustered/clusteredLightContainer.js.map +1 -1
  19. package/Loading/Plugins/babylonFileLoader.js +26 -0
  20. package/Loading/Plugins/babylonFileLoader.js.map +1 -1
  21. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js +2 -0
  22. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js.map +1 -1
  23. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +3 -1
  24. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js.map +1 -1
  25. package/Maths/math.vector.d.ts +1 -1
  26. package/Maths/math.vector.js +3 -3
  27. package/Maths/math.vector.js.map +1 -1
  28. package/Meshes/GaussianSplatting/gaussianSplattingCompoundMesh.d.ts +18 -4
  29. package/Meshes/GaussianSplatting/gaussianSplattingCompoundMesh.js +29 -4
  30. package/Meshes/GaussianSplatting/gaussianSplattingCompoundMesh.js.map +1 -1
  31. package/Meshes/GaussianSplatting/gaussianSplattingMesh.d.ts +48 -8
  32. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +276 -26
  33. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  34. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.d.ts +2 -1
  35. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.js +6 -2
  36. package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.js.map +1 -1
  37. package/Meshes/GaussianSplatting/gaussianSplattingPartProxyMesh.d.ts +61 -7
  38. package/Meshes/GaussianSplatting/gaussianSplattingPartProxyMesh.js +94 -11
  39. package/Meshes/GaussianSplatting/gaussianSplattingPartProxyMesh.js.map +1 -1
  40. package/Meshes/mesh.d.ts +15 -0
  41. package/Meshes/mesh.js +40 -1
  42. package/Meshes/mesh.js.map +1 -1
  43. package/Meshes/transformNode.js +28 -5
  44. package/Meshes/transformNode.js.map +1 -1
  45. package/Misc/sceneSerializer.js +2 -1
  46. package/Misc/sceneSerializer.js.map +1 -1
  47. package/Misc/tools.js +1 -1
  48. package/Misc/tools.js.map +1 -1
  49. package/Particles/baseParticleSystem.d.ts +14 -0
  50. package/Particles/baseParticleSystem.js +23 -0
  51. package/Particles/baseParticleSystem.js.map +1 -1
  52. package/Particles/computeShaderParticleSystem.js +6 -0
  53. package/Particles/computeShaderParticleSystem.js.map +1 -1
  54. package/Particles/gpuParticleSystem.d.ts +29 -18
  55. package/Particles/gpuParticleSystem.js +139 -31
  56. package/Particles/gpuParticleSystem.js.map +1 -1
  57. package/Particles/thinParticleSystem.d.ts +0 -14
  58. package/Particles/thinParticleSystem.js +0 -23
  59. package/Particles/thinParticleSystem.js.map +1 -1
  60. package/Particles/webgl2ParticleSystem.d.ts +1 -0
  61. package/Particles/webgl2ParticleSystem.js +9 -0
  62. package/Particles/webgl2ParticleSystem.js.map +1 -1
  63. package/Shaders/gpuUpdateParticles.vertex.js +12 -0
  64. package/Shaders/gpuUpdateParticles.vertex.js.map +1 -1
  65. package/ShadersWGSL/gpuUpdateParticles.compute.js +15 -1
  66. package/ShadersWGSL/gpuUpdateParticles.compute.js.map +1 -1
  67. package/package.json +1 -1
  68. package/scene.d.ts +11 -0
  69. package/scene.js +14 -0
  70. package/scene.js.map +1 -1
@@ -415,20 +415,6 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
415
415
  * @returns the current particle system
416
416
  */
417
417
  removeDragGradient(gradient: number): IParticleSystem;
418
- /**
419
- * Adds a new emit rate gradient (please note that this will only work if you set the targetStopDuration property)
420
- * @param gradient defines the gradient to use (between 0 and 1)
421
- * @param factor defines the emit rate value to affect to the specified gradient
422
- * @param factor2 defines an additional factor used to define a range ([factor, factor2]) with main value to pick the final value from
423
- * @returns the current particle system
424
- */
425
- addEmitRateGradient(gradient: number, factor: number, factor2?: number): IParticleSystem;
426
- /**
427
- * Remove a specific emit rate gradient
428
- * @param gradient defines the gradient to remove
429
- * @returns the current particle system
430
- */
431
- removeEmitRateGradient(gradient: number): IParticleSystem;
432
418
  /**
433
419
  * Adds a new start size gradient (please note that this will only work if you set the targetStopDuration property)
434
420
  * @param gradient defines the gradient to use (between 0 and 1)
@@ -880,29 +880,6 @@ export class ThinParticleSystem extends BaseParticleSystem {
880
880
  }
881
881
  return this;
882
882
  }
883
- /**
884
- * Adds a new emit rate gradient (please note that this will only work if you set the targetStopDuration property)
885
- * @param gradient defines the gradient to use (between 0 and 1)
886
- * @param factor defines the emit rate value to affect to the specified gradient
887
- * @param factor2 defines an additional factor used to define a range ([factor, factor2]) with main value to pick the final value from
888
- * @returns the current particle system
889
- */
890
- addEmitRateGradient(gradient, factor, factor2) {
891
- if (!this._emitRateGradients) {
892
- this._emitRateGradients = [];
893
- }
894
- this._addFactorGradient(this._emitRateGradients, gradient, factor, factor2);
895
- return this;
896
- }
897
- /**
898
- * Remove a specific emit rate gradient
899
- * @param gradient defines the gradient to remove
900
- * @returns the current particle system
901
- */
902
- removeEmitRateGradient(gradient) {
903
- this._removeFactorGradient(this._emitRateGradients, gradient);
904
- return this;
905
- }
906
883
  /**
907
884
  * Adds a new start size gradient (please note that this will only work if you set the targetStopDuration property)
908
885
  * @param gradient defines the gradient to use (between 0 and 1)