@onerjs/core 8.48.9 → 8.49.2
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/Animations/animation.d.ts +9 -0
- package/Animations/animation.js +9 -0
- package/Animations/animation.js.map +1 -1
- package/Animations/runtimeAnimation.js +28 -0
- package/Animations/runtimeAnimation.js.map +1 -1
- package/Debug/physicsViewer.js +3 -12
- package/Debug/physicsViewer.js.map +1 -1
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/Engines/webgpuEngine.js +2 -0
- package/Engines/webgpuEngine.js.map +1 -1
- package/Layers/thinEffectLayer.js +8 -1
- package/Layers/thinEffectLayer.js.map +1 -1
- package/Lights/Clustered/clusteredLightContainer.js +8 -5
- package/Lights/Clustered/clusteredLightContainer.js.map +1 -1
- package/Loading/Plugins/babylonFileLoader.js +26 -0
- package/Loading/Plugins/babylonFileLoader.js.map +1 -1
- package/Materials/GaussianSplatting/gaussianSplattingMaterial.js +2 -0
- package/Materials/GaussianSplatting/gaussianSplattingMaterial.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +3 -1
- package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js.map +1 -1
- package/Maths/math.vector.d.ts +1 -1
- package/Maths/math.vector.js +3 -3
- package/Maths/math.vector.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingCompoundMesh.d.ts +18 -4
- package/Meshes/GaussianSplatting/gaussianSplattingCompoundMesh.js +29 -4
- package/Meshes/GaussianSplatting/gaussianSplattingCompoundMesh.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.d.ts +48 -8
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +276 -26
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.d.ts +2 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.js +6 -2
- package/Meshes/GaussianSplatting/gaussianSplattingMeshBase.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingPartProxyMesh.d.ts +61 -7
- package/Meshes/GaussianSplatting/gaussianSplattingPartProxyMesh.js +94 -11
- package/Meshes/GaussianSplatting/gaussianSplattingPartProxyMesh.js.map +1 -1
- package/Meshes/mesh.d.ts +15 -0
- package/Meshes/mesh.js +40 -1
- package/Meshes/mesh.js.map +1 -1
- package/Meshes/transformNode.js +28 -5
- package/Meshes/transformNode.js.map +1 -1
- package/Misc/sceneSerializer.js +2 -1
- package/Misc/sceneSerializer.js.map +1 -1
- package/Misc/tools.js +1 -1
- package/Misc/tools.js.map +1 -1
- package/Particles/baseParticleSystem.d.ts +14 -0
- package/Particles/baseParticleSystem.js +23 -0
- package/Particles/baseParticleSystem.js.map +1 -1
- package/Particles/computeShaderParticleSystem.js +6 -0
- package/Particles/computeShaderParticleSystem.js.map +1 -1
- package/Particles/gpuParticleSystem.d.ts +29 -18
- package/Particles/gpuParticleSystem.js +139 -31
- package/Particles/gpuParticleSystem.js.map +1 -1
- package/Particles/thinParticleSystem.d.ts +0 -14
- package/Particles/thinParticleSystem.js +0 -23
- package/Particles/thinParticleSystem.js.map +1 -1
- package/Particles/webgl2ParticleSystem.d.ts +1 -0
- package/Particles/webgl2ParticleSystem.js +9 -0
- package/Particles/webgl2ParticleSystem.js.map +1 -1
- package/Shaders/gpuUpdateParticles.vertex.js +12 -0
- package/Shaders/gpuUpdateParticles.vertex.js.map +1 -1
- package/ShadersWGSL/gpuUpdateParticles.compute.js +15 -1
- package/ShadersWGSL/gpuUpdateParticles.compute.js.map +1 -1
- package/package.json +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)
|