Confusion with type in ParticleSystemSet.Systems

Type of ParticleSystemSet.Systems is an array of IParticleSystem
https://github.com/BabylonJS/Babylon.js/blob/d0000a6f42cc0dcfc635e547b091b340e324f97b/src/Particles/particleSystemSet.ts#L36
While in ParticleSystemSet.Parse, ParticleSystemSet.Systems is treated as ParticleSystem
https://github.com/BabylonJS/Babylon.js/blob/d0000a6f42cc0dcfc635e547b091b340e324f97b/src/Particles/particleSystemSet.ts#L161
When I try to get subemitter(to adjust size of the whole particle system set) from ParticleSystemSet.Systems, js tell me it’s wrong.
So I guess ParticleSystemSet.Systems is better to be ParticleSystem.

It can not be as it might also be a GPU based one. You could be sure of it by iterating or filtering the list with elements like this:

system.getClassName() === "ParticleSystem";
1 Like