@babylonjs/core 8.11.0 → 8.12.0
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/Cameras/arcRotateCamera.js +8 -0
- package/Cameras/arcRotateCamera.js.map +1 -1
- package/Cameras/targetCamera.js +2 -0
- package/Cameras/targetCamera.js.map +1 -1
- package/Collisions/gpuPicker.d.ts +4 -0
- package/Collisions/gpuPicker.js +6 -0
- package/Collisions/gpuPicker.js.map +1 -1
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/Engines/constants.d.ts +4 -0
- package/Engines/constants.js +4 -0
- package/Engines/constants.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.d.ts +1 -0
- package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.js +2 -0
- package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.d.ts +6 -1
- package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.js +29 -0
- package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.d.ts +6 -0
- package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js +36 -9
- package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/shadowGeneratorBlock.js +1 -0
- package/FrameGraph/Node/Blocks/Rendering/shadowGeneratorBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/inputBlock.js +1 -0
- package/FrameGraph/Node/Blocks/inputBlock.js.map +1 -1
- package/FrameGraph/Node/Types/nodeRenderGraphTypes.d.ts +2 -0
- package/FrameGraph/Node/Types/nodeRenderGraphTypes.js +2 -0
- package/FrameGraph/Node/Types/nodeRenderGraphTypes.js.map +1 -1
- package/FrameGraph/Tasks/Rendering/csmShadowGeneratorTask.d.ts +23 -0
- package/FrameGraph/Tasks/Rendering/csmShadowGeneratorTask.js +126 -21
- package/FrameGraph/Tasks/Rendering/csmShadowGeneratorTask.js.map +1 -1
- package/FrameGraph/Tasks/Rendering/geometryRendererTask.d.ts +5 -0
- package/FrameGraph/Tasks/Rendering/geometryRendererTask.js +4 -0
- package/FrameGraph/Tasks/Rendering/geometryRendererTask.js.map +1 -1
- package/FrameGraph/Tasks/Rendering/shadowGeneratorTask.d.ts +2 -4
- package/FrameGraph/Tasks/Rendering/shadowGeneratorTask.js +4 -17
- package/FrameGraph/Tasks/Rendering/shadowGeneratorTask.js.map +1 -1
- package/FrameGraph/frameGraph.js +1 -1
- package/FrameGraph/frameGraph.js.map +1 -1
- package/FrameGraph/frameGraphContext.d.ts +30 -0
- package/FrameGraph/frameGraphContext.js +47 -0
- package/FrameGraph/frameGraphContext.js.map +1 -1
- package/FrameGraph/frameGraphRenderContext.d.ts +1 -4
- package/FrameGraph/frameGraphRenderContext.js +2 -5
- package/FrameGraph/frameGraphRenderContext.js.map +1 -1
- package/Lights/Shadows/cascadedShadowGenerator.d.ts +0 -1
- package/Lights/Shadows/cascadedShadowGenerator.js +0 -12
- package/Lights/Shadows/cascadedShadowGenerator.js.map +1 -1
- package/Materials/Node/Blocks/Dual/clipPlanesBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Dual/clipPlanesBlock.js +4 -1
- package/Materials/Node/Blocks/Dual/clipPlanesBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/currentScreenBlock.d.ts +2 -3
- package/Materials/Node/Blocks/Dual/currentScreenBlock.js +1 -1
- package/Materials/Node/Blocks/Dual/currentScreenBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/fogBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Dual/fogBlock.js +4 -1
- package/Materials/Node/Blocks/Dual/fogBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/lightBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Dual/lightBlock.js +2 -2
- package/Materials/Node/Blocks/Dual/lightBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.d.ts +1 -2
- package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js +1 -1
- package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/smartFilterTextureBlock.js +3 -4
- package/Materials/Node/Blocks/Dual/smartFilterTextureBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/textureBlock.d.ts +2 -3
- package/Materials/Node/Blocks/Dual/textureBlock.js +2 -2
- package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/TBNBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Fragment/TBNBlock.js +4 -1
- package/Materials/Node/Blocks/Fragment/TBNBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/fragCoordBlock.js +2 -2
- package/Materials/Node/Blocks/Fragment/fragCoordBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.d.ts +1 -2
- package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +1 -1
- package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/frontFacingBlock.js +2 -2
- package/Materials/Node/Blocks/Fragment/frontFacingBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/heightToNormalBlock.js +1 -2
- package/Materials/Node/Blocks/Fragment/heightToNormalBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/imageProcessingBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js +1 -1
- package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/perturbNormalBlock.d.ts +1 -2
- package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js +1 -1
- package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/screenSizeBlock.js +2 -2
- package/Materials/Node/Blocks/Fragment/screenSizeBlock.js.map +1 -1
- package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.d.ts +3 -3
- package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.js +6 -3
- package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/anisotropyBlock.d.ts +1 -2
- package/Materials/Node/Blocks/PBR/anisotropyBlock.js +2 -4
- package/Materials/Node/Blocks/PBR/anisotropyBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/clearCoatBlock.d.ts +1 -2
- package/Materials/Node/Blocks/PBR/clearCoatBlock.js +1 -2
- package/Materials/Node/Blocks/PBR/clearCoatBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/iridescenceBlock.d.ts +2 -3
- package/Materials/Node/Blocks/PBR/iridescenceBlock.js +1 -2
- package/Materials/Node/Blocks/PBR/iridescenceBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.d.ts +1 -1
- package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +5 -2
- package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/reflectionBlock.d.ts +1 -2
- package/Materials/Node/Blocks/PBR/reflectionBlock.js +2 -2
- package/Materials/Node/Blocks/PBR/reflectionBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/refractionBlock.d.ts +1 -2
- package/Materials/Node/Blocks/PBR/refractionBlock.js +1 -2
- package/Materials/Node/Blocks/PBR/refractionBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/sheenBlock.d.ts +2 -3
- package/Materials/Node/Blocks/PBR/sheenBlock.js +1 -2
- package/Materials/Node/Blocks/PBR/sheenBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/subSurfaceBlock.d.ts +2 -3
- package/Materials/Node/Blocks/PBR/subSurfaceBlock.js +1 -2
- package/Materials/Node/Blocks/PBR/subSurfaceBlock.js.map +1 -1
- package/Materials/Node/Blocks/Particle/particleTextureBlock.d.ts +1 -2
- package/Materials/Node/Blocks/Particle/particleTextureBlock.js +1 -1
- package/Materials/Node/Blocks/Particle/particleTextureBlock.js.map +1 -1
- package/Materials/Node/Blocks/Vertex/bonesBlock.d.ts +2 -2
- package/Materials/Node/Blocks/Vertex/bonesBlock.js +3 -3
- package/Materials/Node/Blocks/Vertex/bonesBlock.js.map +1 -1
- package/Materials/Node/Blocks/Vertex/instancesBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Vertex/instancesBlock.js +1 -1
- package/Materials/Node/Blocks/Vertex/instancesBlock.js.map +1 -1
- package/Materials/Node/Blocks/Vertex/lightInformationBlock.d.ts +1 -2
- package/Materials/Node/Blocks/Vertex/lightInformationBlock.js +1 -1
- package/Materials/Node/Blocks/Vertex/lightInformationBlock.js.map +1 -1
- package/Materials/Node/Blocks/Vertex/morphTargetsBlock.d.ts +2 -2
- package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js +8 -2
- package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js.map +1 -1
- package/Materials/Node/Blocks/transformBlock.d.ts +3 -3
- package/Materials/Node/Blocks/transformBlock.js +4 -5
- package/Materials/Node/Blocks/transformBlock.js.map +1 -1
- package/Materials/Node/Blocks/triPlanarBlock.d.ts +1 -3
- package/Materials/Node/Blocks/triPlanarBlock.js +1 -1
- package/Materials/Node/Blocks/triPlanarBlock.js.map +1 -1
- package/Materials/Node/nodeMaterial.d.ts +1 -1
- package/Materials/Node/nodeMaterial.js +28 -42
- package/Materials/Node/nodeMaterial.js.map +1 -1
- package/Materials/Node/nodeMaterialBlock.d.ts +8 -12
- package/Materials/Node/nodeMaterialBlock.js +10 -12
- package/Materials/Node/nodeMaterialBlock.js.map +1 -1
- package/Materials/Node/nodeMaterialBuildState.js +3 -1
- package/Materials/Node/nodeMaterialBuildState.js.map +1 -1
- package/Materials/Node/nodeMaterialBuildStateSharedData.d.ts +7 -3
- package/Materials/Node/nodeMaterialBuildStateSharedData.js +17 -6
- package/Materials/Node/nodeMaterialBuildStateSharedData.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.d.ts +2 -0
- package/Materials/PBR/pbrBaseMaterial.js +11 -0
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/Textures/Loaders/exrTextureLoader.d.ts +10 -0
- package/Materials/Textures/Loaders/exrTextureLoader.js +28 -1
- package/Materials/Textures/Loaders/exrTextureLoader.js.map +1 -1
- package/Materials/materialHelper.functions.js +1 -1
- package/Materials/materialHelper.functions.js.map +1 -1
- package/Materials/materialHelper.geometryrendering.js +7 -0
- package/Materials/materialHelper.geometryrendering.js.map +1 -1
- package/Materials/standardMaterial.d.ts +2 -0
- package/Materials/standardMaterial.js +11 -0
- package/Materials/standardMaterial.js.map +1 -1
- package/Meshes/Node/Blocks/Textures/geometryTextureBlock.d.ts +7 -0
- package/Meshes/Node/Blocks/Textures/geometryTextureBlock.js +11 -5
- package/Meshes/Node/Blocks/Textures/geometryTextureBlock.js.map +1 -1
- package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.d.ts +6 -0
- package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.js +42 -4
- package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.js.map +1 -1
- package/Meshes/Node/Blocks/geometryOptimizeBlock.js +8 -0
- package/Meshes/Node/Blocks/geometryOptimizeBlock.js.map +1 -1
- package/Misc/environmentTextureTools.js +1 -1
- package/Misc/environmentTextureTools.js.map +1 -1
- package/Misc/minMaxReducer.d.ts +8 -6
- package/Misc/minMaxReducer.js +57 -90
- package/Misc/minMaxReducer.js.map +1 -1
- package/Misc/thinMinMaxReducer.d.ts +47 -0
- package/Misc/thinMinMaxReducer.js +148 -0
- package/Misc/thinMinMaxReducer.js.map +1 -0
- package/Particles/EmitterTypes/customParticleEmitter.d.ts +5 -0
- package/Particles/EmitterTypes/customParticleEmitter.js +9 -1
- package/Particles/EmitterTypes/customParticleEmitter.js.map +1 -1
- package/Particles/IParticleSystem.d.ts +4 -0
- package/Particles/IParticleSystem.js.map +1 -1
- package/Particles/Node/Blocks/Conditions/particleConditionBlock.d.ts +75 -0
- package/Particles/Node/Blocks/Conditions/particleConditionBlock.js +179 -0
- package/Particles/Node/Blocks/Conditions/particleConditionBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/boxShapeBlock.d.ts +47 -0
- package/Particles/Node/Blocks/Emitters/boxShapeBlock.js +107 -0
- package/Particles/Node/Blocks/Emitters/boxShapeBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/createParticleBlock.d.ts +46 -0
- package/Particles/Node/Blocks/Emitters/createParticleBlock.js +97 -0
- package/Particles/Node/Blocks/Emitters/createParticleBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/customShapeBlock.d.ts +39 -0
- package/Particles/Node/Blocks/Emitters/customShapeBlock.js +84 -0
- package/Particles/Node/Blocks/Emitters/customShapeBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/cylinderShapeBlock.d.ts +48 -0
- package/Particles/Node/Blocks/Emitters/cylinderShapeBlock.js +120 -0
- package/Particles/Node/Blocks/Emitters/cylinderShapeBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/index.d.ts +7 -0
- package/Particles/Node/Blocks/Emitters/index.js +8 -0
- package/Particles/Node/Blocks/Emitters/index.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/pointShapeBlock.d.ts +39 -0
- package/Particles/Node/Blocks/Emitters/pointShapeBlock.js +86 -0
- package/Particles/Node/Blocks/Emitters/pointShapeBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/setupSpriteSheetBlock.d.ts +53 -0
- package/Particles/Node/Blocks/Emitters/setupSpriteSheetBlock.js +111 -0
- package/Particles/Node/Blocks/Emitters/setupSpriteSheetBlock.js.map +1 -0
- package/Particles/Node/Blocks/Emitters/sphereShapeBlock.d.ts +43 -0
- package/Particles/Node/Blocks/Emitters/sphereShapeBlock.js +108 -0
- package/Particles/Node/Blocks/Emitters/sphereShapeBlock.js.map +1 -0
- package/Particles/Node/Blocks/Teleport/particleTeleportInBlock.d.ts +48 -0
- package/Particles/Node/Blocks/Teleport/particleTeleportInBlock.js +100 -0
- package/Particles/Node/Blocks/Teleport/particleTeleportInBlock.js.map +1 -0
- package/Particles/Node/Blocks/Teleport/particleTeleportOutBlock.d.ts +47 -0
- package/Particles/Node/Blocks/Teleport/particleTeleportOutBlock.js +82 -0
- package/Particles/Node/Blocks/Teleport/particleTeleportOutBlock.js.map +1 -0
- package/Particles/Node/Blocks/Triggers/particleTriggerBlock.d.ts +48 -0
- package/Particles/Node/Blocks/Triggers/particleTriggerBlock.js +133 -0
- package/Particles/Node/Blocks/Triggers/particleTriggerBlock.js.map +1 -0
- package/Particles/Node/Blocks/Triggers/triggerTools.d.ts +9 -0
- package/Particles/Node/Blocks/Triggers/triggerTools.js +16 -0
- package/Particles/Node/Blocks/Triggers/triggerTools.js.map +1 -0
- package/Particles/Node/Blocks/Update/basicPositionUpdateBlock.d.ts +31 -0
- package/Particles/Node/Blocks/Update/basicPositionUpdateBlock.js +64 -0
- package/Particles/Node/Blocks/Update/basicPositionUpdateBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/basicSpriteUpdateBlock.d.ts +31 -0
- package/Particles/Node/Blocks/Update/basicSpriteUpdateBlock.js +63 -0
- package/Particles/Node/Blocks/Update/basicSpriteUpdateBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updateAngleBlock.d.ts +35 -0
- package/Particles/Node/Blocks/Update/updateAngleBlock.js +73 -0
- package/Particles/Node/Blocks/Update/updateAngleBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updateColorBlock.d.ts +35 -0
- package/Particles/Node/Blocks/Update/updateColorBlock.js +73 -0
- package/Particles/Node/Blocks/Update/updateColorBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updateDirectionBlock.d.ts +35 -0
- package/Particles/Node/Blocks/Update/updateDirectionBlock.js +73 -0
- package/Particles/Node/Blocks/Update/updateDirectionBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updateFlowMapBlock.d.ts +41 -0
- package/Particles/Node/Blocks/Update/updateFlowMapBlock.js +102 -0
- package/Particles/Node/Blocks/Update/updateFlowMapBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updatePositionBlock.d.ts +35 -0
- package/Particles/Node/Blocks/Update/updatePositionBlock.js +73 -0
- package/Particles/Node/Blocks/Update/updatePositionBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updateScaleBlock.d.ts +35 -0
- package/Particles/Node/Blocks/Update/updateScaleBlock.js +73 -0
- package/Particles/Node/Blocks/Update/updateScaleBlock.js.map +1 -0
- package/Particles/Node/Blocks/Update/updateSpriteCellIndexBlock.d.ts +35 -0
- package/Particles/Node/Blocks/Update/updateSpriteCellIndexBlock.js +74 -0
- package/Particles/Node/Blocks/Update/updateSpriteCellIndexBlock.js.map +1 -0
- package/Particles/Node/Blocks/index.d.ts +27 -0
- package/Particles/Node/Blocks/index.js +29 -0
- package/Particles/Node/Blocks/index.js.map +1 -0
- package/Particles/Node/Blocks/particleConverterBlock.d.ts +85 -0
- package/Particles/Node/Blocks/particleConverterBlock.js +267 -0
- package/Particles/Node/Blocks/particleConverterBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleDebugBlock.d.ts +37 -0
- package/Particles/Node/Blocks/particleDebugBlock.js +109 -0
- package/Particles/Node/Blocks/particleDebugBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleElbowBlock.d.ts +27 -0
- package/Particles/Node/Blocks/particleElbowBlock.js +47 -0
- package/Particles/Node/Blocks/particleElbowBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleGradientBlock.d.ts +28 -0
- package/Particles/Node/Blocks/particleGradientBlock.js +118 -0
- package/Particles/Node/Blocks/particleGradientBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleGradientValueBlock.d.ts +32 -0
- package/Particles/Node/Blocks/particleGradientValueBlock.js +79 -0
- package/Particles/Node/Blocks/particleGradientValueBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleInputBlock.d.ts +87 -0
- package/Particles/Node/Blocks/particleInputBlock.js +279 -0
- package/Particles/Node/Blocks/particleInputBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleLerpBlock.d.ts +34 -0
- package/Particles/Node/Blocks/particleLerpBlock.js +92 -0
- package/Particles/Node/Blocks/particleLerpBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleMathBlock.d.ts +64 -0
- package/Particles/Node/Blocks/particleMathBlock.js +321 -0
- package/Particles/Node/Blocks/particleMathBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleRandomBlock.d.ts +52 -0
- package/Particles/Node/Blocks/particleRandomBlock.js +161 -0
- package/Particles/Node/Blocks/particleRandomBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleSourceTextureBlock.d.ts +65 -0
- package/Particles/Node/Blocks/particleSourceTextureBlock.js +173 -0
- package/Particles/Node/Blocks/particleSourceTextureBlock.js.map +1 -0
- package/Particles/Node/Blocks/particleTrigonometryBlock.d.ts +80 -0
- package/Particles/Node/Blocks/particleTrigonometryBlock.js +272 -0
- package/Particles/Node/Blocks/particleTrigonometryBlock.js.map +1 -0
- package/Particles/Node/Blocks/randomRangeBlock.d.ts +45 -0
- package/Particles/Node/Blocks/randomRangeBlock.js +151 -0
- package/Particles/Node/Blocks/randomRangeBlock.js.map +1 -0
- package/Particles/Node/Blocks/systemBlock.d.ts +71 -0
- package/Particles/Node/Blocks/systemBlock.js +193 -0
- package/Particles/Node/Blocks/systemBlock.js.map +1 -0
- package/Particles/Node/Enums/nodeParticleBlockConnectionPointTypes.d.ts +39 -0
- package/Particles/Node/Enums/nodeParticleBlockConnectionPointTypes.js +41 -0
- package/Particles/Node/Enums/nodeParticleBlockConnectionPointTypes.js.map +1 -0
- package/Particles/Node/Enums/nodeParticleContextualSources.d.ts +31 -0
- package/Particles/Node/Enums/nodeParticleContextualSources.js +34 -0
- package/Particles/Node/Enums/nodeParticleContextualSources.js.map +1 -0
- package/Particles/Node/Enums/nodeParticleSystemSources.d.ts +13 -0
- package/Particles/Node/Enums/nodeParticleSystemSources.js +15 -0
- package/Particles/Node/Enums/nodeParticleSystemSources.js.map +1 -0
- package/Particles/Node/index.d.ts +8 -0
- package/Particles/Node/index.js +10 -0
- package/Particles/Node/index.js.map +1 -0
- package/Particles/Node/nodeParticleBlock.d.ts +154 -0
- package/Particles/Node/nodeParticleBlock.js +355 -0
- package/Particles/Node/nodeParticleBlock.js.map +1 -0
- package/Particles/Node/nodeParticleBlockConnectionPoint.d.ts +188 -0
- package/Particles/Node/nodeParticleBlockConnectionPoint.js +337 -0
- package/Particles/Node/nodeParticleBlockConnectionPoint.js.map +1 -0
- package/Particles/Node/nodeParticleBuildState.d.ts +89 -0
- package/Particles/Node/nodeParticleBuildState.js +170 -0
- package/Particles/Node/nodeParticleBuildState.js.map +1 -0
- package/Particles/Node/nodeParticleSystemSet.d.ts +120 -0
- package/Particles/Node/nodeParticleSystemSet.js +382 -0
- package/Particles/Node/nodeParticleSystemSet.js.map +1 -0
- package/Particles/Queue/executionQueue.d.ts +2 -0
- package/Particles/Queue/executionQueue.js +10 -0
- package/Particles/Queue/executionQueue.js.map +1 -1
- package/Particles/baseParticleSystem.d.ts +2 -1
- package/Particles/baseParticleSystem.js +1 -0
- package/Particles/baseParticleSystem.js.map +1 -1
- package/Particles/flowMap.d.ts +7 -0
- package/Particles/flowMap.js +32 -0
- package/Particles/flowMap.js.map +1 -1
- package/Particles/gpuParticleSystem.d.ts +4 -0
- package/Particles/gpuParticleSystem.js +4 -0
- package/Particles/gpuParticleSystem.js.map +1 -1
- package/Particles/index.d.ts +1 -0
- package/Particles/index.js +1 -0
- package/Particles/index.js.map +1 -1
- package/Particles/particleSystem.d.ts +12 -0
- package/Particles/particleSystem.js +22 -1
- package/Particles/particleSystem.js.map +1 -1
- package/Particles/thinParticleSystem.d.ts +32 -11
- package/Particles/thinParticleSystem.js +62 -36
- package/Particles/thinParticleSystem.js.map +1 -1
- package/PostProcesses/postProcessManager.d.ts +2 -1
- package/PostProcesses/postProcessManager.js +3 -2
- package/PostProcesses/postProcessManager.js.map +1 -1
- package/Shaders/ShadersInclude/defaultUboDeclaration.js +1 -1
- package/Shaders/ShadersInclude/defaultUboDeclaration.js.map +1 -1
- package/Shaders/ShadersInclude/defaultVertexDeclaration.js +1 -0
- package/Shaders/ShadersInclude/defaultVertexDeclaration.js.map +1 -1
- package/Shaders/ShadersInclude/lightFragment.js +5 -2
- package/Shaders/ShadersInclude/lightFragment.js.map +1 -1
- package/Shaders/ShadersInclude/morphTargetsVertexDeclaration.js +3 -0
- package/Shaders/ShadersInclude/morphTargetsVertexDeclaration.js.map +1 -1
- package/Shaders/ShadersInclude/pbrBlockPrePass.js +3 -0
- package/Shaders/ShadersInclude/pbrBlockPrePass.js.map +1 -1
- package/Shaders/ShadersInclude/pbrDirectLightingFunctions.js +1 -1
- package/Shaders/ShadersInclude/pbrDirectLightingFunctions.js.map +1 -1
- package/Shaders/ShadersInclude/pbrUboDeclaration.js +1 -1
- package/Shaders/ShadersInclude/pbrUboDeclaration.js.map +1 -1
- package/Shaders/ShadersInclude/pbrVertexDeclaration.js +1 -0
- package/Shaders/ShadersInclude/pbrVertexDeclaration.js.map +1 -1
- package/Shaders/ShadersInclude/prePassDeclaration.js +3 -0
- package/Shaders/ShadersInclude/prePassDeclaration.js.map +1 -1
- package/Shaders/ShadersInclude/prePassVertex.js +3 -0
- package/Shaders/ShadersInclude/prePassVertex.js.map +1 -1
- package/Shaders/ShadersInclude/prePassVertexDeclaration.js +3 -0
- package/Shaders/ShadersInclude/prePassVertexDeclaration.js.map +1 -1
- package/Shaders/default.fragment.js +3 -0
- package/Shaders/default.fragment.js.map +1 -1
- package/Shaders/minmaxRedux.fragment.js +13 -5
- package/Shaders/minmaxRedux.fragment.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/defaultUboDeclaration.js +1 -1
- package/ShadersWGSL/ShadersInclude/defaultUboDeclaration.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/lightFragment.js +5 -2
- package/ShadersWGSL/ShadersInclude/lightFragment.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/morphTargetsVertexDeclaration.js +3 -0
- package/ShadersWGSL/ShadersInclude/morphTargetsVertexDeclaration.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/pbrBlockPrePass.js +3 -0
- package/ShadersWGSL/ShadersInclude/pbrBlockPrePass.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js +1 -1
- package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/pbrUboDeclaration.js +1 -1
- package/ShadersWGSL/ShadersInclude/pbrUboDeclaration.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/prePassDeclaration.js +3 -0
- package/ShadersWGSL/ShadersInclude/prePassDeclaration.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/prePassVertex.js +3 -0
- package/ShadersWGSL/ShadersInclude/prePassVertex.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/prePassVertexDeclaration.js +3 -0
- package/ShadersWGSL/ShadersInclude/prePassVertexDeclaration.js.map +1 -1
- package/ShadersWGSL/default.fragment.js +3 -0
- package/ShadersWGSL/default.fragment.js.map +1 -1
- package/ShadersWGSL/minmaxRedux.fragment.js +14 -6
- package/ShadersWGSL/minmaxRedux.fragment.js.map +1 -1
- package/package.json +1 -1
- package/scene.d.ts +5 -0
- package/scene.js +8 -0
- package/scene.js.map +1 -1
|
@@ -67,6 +67,10 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
67
67
|
* An event triggered when the system is stopped
|
|
68
68
|
*/
|
|
69
69
|
onStoppedObservable: Observable<IParticleSystem>;
|
|
70
|
+
/**
|
|
71
|
+
* An event triggered when the system is started
|
|
72
|
+
*/
|
|
73
|
+
onStartedObservable: Observable<IParticleSystem>;
|
|
70
74
|
private _onDisposeObserver;
|
|
71
75
|
/**
|
|
72
76
|
* Sets a callback that will be triggered when the system is disposed
|
|
@@ -105,6 +109,11 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
105
109
|
private _alive;
|
|
106
110
|
private _useInstancing;
|
|
107
111
|
private _vertexArrayObject;
|
|
112
|
+
private _isDisposed;
|
|
113
|
+
/**
|
|
114
|
+
* Gets a boolean indicating that the particle system was disposed
|
|
115
|
+
*/
|
|
116
|
+
get isDisposed(): boolean;
|
|
108
117
|
private _started;
|
|
109
118
|
private _stopped;
|
|
110
119
|
/** @internal */
|
|
@@ -129,7 +138,8 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
129
138
|
private readonly _rawTextureWidth;
|
|
130
139
|
private _rampGradientsTexture;
|
|
131
140
|
private _useRampGradients;
|
|
132
|
-
|
|
141
|
+
/** @internal */
|
|
142
|
+
_updateQueueStart: Nullable<_IExecutionQueueItem>;
|
|
133
143
|
protected _colorProcessing: _IExecutionQueueItem;
|
|
134
144
|
protected _angularSpeedGradientProcessing: _IExecutionQueueItem;
|
|
135
145
|
protected _angularSpeedProcessing: _IExecutionQueueItem;
|
|
@@ -142,18 +152,24 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
142
152
|
protected _gravityProcessing: _IExecutionQueueItem;
|
|
143
153
|
protected _sizeGradientProcessing: _IExecutionQueueItem;
|
|
144
154
|
protected _remapGradientProcessing: _IExecutionQueueItem;
|
|
145
|
-
|
|
146
|
-
|
|
155
|
+
/** @internal */
|
|
156
|
+
_lifeTimeCreation: _IExecutionQueueItem;
|
|
157
|
+
/** @internal */
|
|
158
|
+
_positionCreation: _IExecutionQueueItem;
|
|
147
159
|
private _isLocalCreation;
|
|
148
|
-
|
|
160
|
+
/** @internal */
|
|
161
|
+
_directionCreation: _IExecutionQueueItem;
|
|
149
162
|
private _emitPowerCreation;
|
|
150
|
-
|
|
163
|
+
/** @internal */
|
|
164
|
+
_sizeCreation: _IExecutionQueueItem;
|
|
151
165
|
private _startSizeCreation;
|
|
152
|
-
|
|
166
|
+
/** @internal */
|
|
167
|
+
_angleCreation: _IExecutionQueueItem;
|
|
153
168
|
private _velocityCreation;
|
|
154
169
|
private _limitVelocityCreation;
|
|
155
170
|
private _dragCreation;
|
|
156
|
-
|
|
171
|
+
/** @internal */
|
|
172
|
+
_colorCreation: _IExecutionQueueItem;
|
|
157
173
|
private _sheetCreation;
|
|
158
174
|
private _rampCreation;
|
|
159
175
|
private _noiseCreation;
|
|
@@ -255,8 +271,9 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
255
271
|
* @param customEffect a custom effect used to change the way particles are rendered by default
|
|
256
272
|
* @param isAnimationSheetEnabled Must be true if using a spritesheet to animate the particles texture
|
|
257
273
|
* @param epsilon Offset used to render the particles
|
|
274
|
+
* @param noUpdateQueue If true, the particle system will start with an empty update queue
|
|
258
275
|
*/
|
|
259
|
-
constructor(name: string, capacity: number, sceneOrEngine: Scene | AbstractEngine, customEffect?: Nullable<Effect>, isAnimationSheetEnabled?: boolean, epsilon?: number);
|
|
276
|
+
constructor(name: string, capacity: number, sceneOrEngine: Scene | AbstractEngine, customEffect?: Nullable<Effect>, isAnimationSheetEnabled?: boolean, epsilon?: number, noUpdateQueue?: boolean);
|
|
260
277
|
/** @internal */
|
|
261
278
|
_emitFromParticle: (particle: Particle) => void;
|
|
262
279
|
serialize(serializeTexture: boolean): void;
|
|
@@ -488,7 +505,7 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
488
505
|
*/
|
|
489
506
|
stop(stopSubEmitters?: boolean): void;
|
|
490
507
|
/** @internal */
|
|
491
|
-
_postStop(
|
|
508
|
+
_postStop(_stopSubEmitters: boolean): void;
|
|
492
509
|
/**
|
|
493
510
|
* Remove all active particles
|
|
494
511
|
*/
|
|
@@ -505,7 +522,7 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
505
522
|
recycleParticle: (particle: Particle) => void;
|
|
506
523
|
private _createParticle;
|
|
507
524
|
/** @internal */
|
|
508
|
-
_prepareParticle(
|
|
525
|
+
_prepareParticle(_particle: Particle): void;
|
|
509
526
|
private _createNewOnes;
|
|
510
527
|
private _update;
|
|
511
528
|
/**
|
|
@@ -534,6 +551,10 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
534
551
|
* @internal
|
|
535
552
|
*/
|
|
536
553
|
private _getWrapper;
|
|
554
|
+
/**
|
|
555
|
+
* Gets or sets a boolean indicating that the particle system is paused (no animation will be done).
|
|
556
|
+
*/
|
|
557
|
+
paused: boolean;
|
|
537
558
|
/**
|
|
538
559
|
* Animates the particle system for the current frame by emitting new particles and or animating the living ones.
|
|
539
560
|
* @param preWarmOnly will prevent the system from updating the vertex buffer (default is false)
|
|
@@ -558,7 +579,7 @@ export declare class ThinParticleSystem extends BaseParticleSystem implements ID
|
|
|
558
579
|
*/
|
|
559
580
|
render(): number;
|
|
560
581
|
/** @internal */
|
|
561
|
-
_onDispose(
|
|
582
|
+
_onDispose(_disposeAttachedSubEmitters?: boolean, _disposeEndSubEmitters?: boolean): void;
|
|
562
583
|
/**
|
|
563
584
|
* Disposes the particle system and free the associated resources
|
|
564
585
|
* @param disposeTexture defines if the particle texture must be disposed as well (true by default)
|
|
@@ -72,6 +72,12 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
72
72
|
}
|
|
73
73
|
this._onDisposeObserver = this.onDisposeObservable.add(callback);
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Gets a boolean indicating that the particle system was disposed
|
|
77
|
+
*/
|
|
78
|
+
get isDisposed() {
|
|
79
|
+
return this._isDisposed;
|
|
80
|
+
}
|
|
75
81
|
/** Gets or sets a boolean indicating that ramp gradients must be used
|
|
76
82
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/particles/particle_system/particle_system_intro#ramp-gradients
|
|
77
83
|
*/
|
|
@@ -158,6 +164,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
158
164
|
else {
|
|
159
165
|
_RemoveFromQueue(this._sheetCreation);
|
|
160
166
|
}
|
|
167
|
+
this._reset();
|
|
161
168
|
}
|
|
162
169
|
/**
|
|
163
170
|
* Gets the number of particles active at the same time.
|
|
@@ -265,8 +272,9 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
265
272
|
* @param customEffect a custom effect used to change the way particles are rendered by default
|
|
266
273
|
* @param isAnimationSheetEnabled Must be true if using a spritesheet to animate the particles texture
|
|
267
274
|
* @param epsilon Offset used to render the particles
|
|
275
|
+
* @param noUpdateQueue If true, the particle system will start with an empty update queue
|
|
268
276
|
*/
|
|
269
|
-
constructor(name, capacity, sceneOrEngine, customEffect = null, isAnimationSheetEnabled = false, epsilon = 0.01) {
|
|
277
|
+
constructor(name, capacity, sceneOrEngine, customEffect = null, isAnimationSheetEnabled = false, epsilon = 0.01, noUpdateQueue = false) {
|
|
270
278
|
super(name);
|
|
271
279
|
/** @internal */
|
|
272
280
|
this._emitterInverseWorldMatrix = Matrix.Identity();
|
|
@@ -284,6 +292,10 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
284
292
|
* An event triggered when the system is stopped
|
|
285
293
|
*/
|
|
286
294
|
this.onStoppedObservable = new Observable();
|
|
295
|
+
/**
|
|
296
|
+
* An event triggered when the system is started
|
|
297
|
+
*/
|
|
298
|
+
this.onStartedObservable = new Observable();
|
|
287
299
|
/** @internal */
|
|
288
300
|
this._noiseTextureSize = null;
|
|
289
301
|
/** @internal */
|
|
@@ -302,6 +314,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
302
314
|
this._scaledGravity = Vector3.Zero();
|
|
303
315
|
this._currentRenderId = -1;
|
|
304
316
|
this._useInstancing = false;
|
|
317
|
+
this._isDisposed = false;
|
|
305
318
|
this._started = false;
|
|
306
319
|
this._stopped = false;
|
|
307
320
|
/** @internal */
|
|
@@ -318,6 +331,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
318
331
|
this.updateInAnimate = true;
|
|
319
332
|
this._rawTextureWidth = 256;
|
|
320
333
|
this._useRampGradients = false;
|
|
334
|
+
/** @internal */
|
|
321
335
|
this._updateQueueStart = null;
|
|
322
336
|
this._startSizeCreation = null;
|
|
323
337
|
this._createQueueStart = null;
|
|
@@ -358,6 +372,10 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
358
372
|
this._prepareParticle(particle);
|
|
359
373
|
return particle;
|
|
360
374
|
};
|
|
375
|
+
/**
|
|
376
|
+
* Gets or sets a boolean indicating that the particle system is paused (no animation will be done).
|
|
377
|
+
*/
|
|
378
|
+
this.paused = false;
|
|
361
379
|
this._shadersLoaded = false;
|
|
362
380
|
this._capacity = capacity;
|
|
363
381
|
this._epsilon = epsilon;
|
|
@@ -420,36 +438,38 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
420
438
|
_ConnectAfter(this._colorCreation, this._angleCreation);
|
|
421
439
|
this._createQueueStart = this._lifeTimeCreation;
|
|
422
440
|
// Processing queue
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
441
|
+
if (!noUpdateQueue) {
|
|
442
|
+
this._colorProcessing = {
|
|
443
|
+
process: _ProcessColor,
|
|
444
|
+
previousItem: null,
|
|
445
|
+
nextItem: null,
|
|
446
|
+
};
|
|
447
|
+
this._angularSpeedProcessing = {
|
|
448
|
+
process: _ProcessAngularSpeed,
|
|
449
|
+
previousItem: null,
|
|
450
|
+
nextItem: null,
|
|
451
|
+
};
|
|
452
|
+
_ConnectAfter(this._angularSpeedProcessing, this._colorProcessing);
|
|
453
|
+
this._directionProcessing = {
|
|
454
|
+
process: _ProcessDirection,
|
|
455
|
+
previousItem: null,
|
|
456
|
+
nextItem: null,
|
|
457
|
+
};
|
|
458
|
+
_ConnectAfter(this._directionProcessing, this._angularSpeedProcessing);
|
|
459
|
+
this._positionProcessing = {
|
|
460
|
+
process: _ProcessPosition,
|
|
461
|
+
previousItem: null,
|
|
462
|
+
nextItem: null,
|
|
463
|
+
};
|
|
464
|
+
_ConnectAfter(this._positionProcessing, this._directionProcessing);
|
|
465
|
+
this._gravityProcessing = {
|
|
466
|
+
process: _ProcessGravity,
|
|
467
|
+
previousItem: null,
|
|
468
|
+
nextItem: null,
|
|
469
|
+
};
|
|
470
|
+
_ConnectAfter(this._gravityProcessing, this._positionProcessing);
|
|
471
|
+
this._updateQueueStart = this._colorProcessing;
|
|
472
|
+
}
|
|
453
473
|
this._isAnimationSheetEnabled = isAnimationSheetEnabled;
|
|
454
474
|
// Setup the default processing configuration to the scene.
|
|
455
475
|
this._attachImageProcessingConfiguration(null);
|
|
@@ -493,7 +513,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
493
513
|
currentQueueItem.process(particle, this);
|
|
494
514
|
currentQueueItem = currentQueueItem.nextItem;
|
|
495
515
|
}
|
|
496
|
-
if (this._isAnimationSheetEnabled) {
|
|
516
|
+
if (this._isAnimationSheetEnabled && !noUpdateQueue) {
|
|
497
517
|
particle.updateCellIndex();
|
|
498
518
|
}
|
|
499
519
|
// Update the position of the attached sub-emitters to match their attached particle
|
|
@@ -1036,6 +1056,9 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1036
1056
|
* Resets the draw wrappers cache
|
|
1037
1057
|
*/
|
|
1038
1058
|
resetDrawCache() {
|
|
1059
|
+
if (!this._drawWrappers) {
|
|
1060
|
+
return;
|
|
1061
|
+
}
|
|
1039
1062
|
for (const drawWrappers of this._drawWrappers) {
|
|
1040
1063
|
if (drawWrappers) {
|
|
1041
1064
|
for (const drawWrapper of drawWrappers) {
|
|
@@ -1244,6 +1267,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1244
1267
|
if (this.beginAnimationOnStart && this.animations && this.animations.length > 0 && this._scene) {
|
|
1245
1268
|
this._scene.beginAnimation(this, this.beginAnimationFrom, this.beginAnimationTo, this.beginAnimationLoop);
|
|
1246
1269
|
}
|
|
1270
|
+
this.onStartedObservable.notifyObservers(this);
|
|
1247
1271
|
}
|
|
1248
1272
|
/**
|
|
1249
1273
|
* Stops the particle system.
|
|
@@ -1258,7 +1282,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1258
1282
|
this._postStop(stopSubEmitters);
|
|
1259
1283
|
}
|
|
1260
1284
|
/** @internal */
|
|
1261
|
-
_postStop(
|
|
1285
|
+
_postStop(_stopSubEmitters) {
|
|
1262
1286
|
// Do nothing
|
|
1263
1287
|
}
|
|
1264
1288
|
// Animation sheet
|
|
@@ -1346,7 +1370,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1346
1370
|
}
|
|
1347
1371
|
}
|
|
1348
1372
|
/** @internal */
|
|
1349
|
-
_prepareParticle(
|
|
1373
|
+
_prepareParticle(_particle) {
|
|
1350
1374
|
//Do nothing
|
|
1351
1375
|
}
|
|
1352
1376
|
_createNewOnes(newParticles) {
|
|
@@ -1523,7 +1547,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1523
1547
|
* @param preWarmOnly will prevent the system from updating the vertex buffer (default is false)
|
|
1524
1548
|
*/
|
|
1525
1549
|
animate(preWarmOnly = false) {
|
|
1526
|
-
if (!this._started) {
|
|
1550
|
+
if (!this._started || this.paused) {
|
|
1527
1551
|
return;
|
|
1528
1552
|
}
|
|
1529
1553
|
if (!preWarmOnly && this._scene) {
|
|
@@ -1777,7 +1801,7 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1777
1801
|
return outparticles;
|
|
1778
1802
|
}
|
|
1779
1803
|
/** @internal */
|
|
1780
|
-
_onDispose(
|
|
1804
|
+
_onDispose(_disposeAttachedSubEmitters = false, _disposeEndSubEmitters = false) {
|
|
1781
1805
|
// Do Nothing
|
|
1782
1806
|
}
|
|
1783
1807
|
/**
|
|
@@ -1840,7 +1864,9 @@ export class ThinParticleSystem extends BaseParticleSystem {
|
|
|
1840
1864
|
this.onDisposeObservable.notifyObservers(this);
|
|
1841
1865
|
this.onDisposeObservable.clear();
|
|
1842
1866
|
this.onStoppedObservable.clear();
|
|
1867
|
+
this.onStartedObservable.clear();
|
|
1843
1868
|
this.reset();
|
|
1869
|
+
this._isDisposed = true;
|
|
1844
1870
|
}
|
|
1845
1871
|
}
|
|
1846
1872
|
/**
|