ParticleSystem constructor
ParticleSystem(
- World world, {
- double pressureStrength = 0.05,
- double dampingStrength = 1.0,
- double elasticStrength = 0.25,
- double springStrength = 0.25,
- double viscousStrength = 0.25,
- double surfaceTensionStrengthA = 0.1,
- double surfaceTensionStrengthB = 0.2,
- double powderStrength = 0.5,
- double ejectionStrength = 0.5,
- double colorMixingStrength = 0.5,
Implementation
ParticleSystem(
this.world, {
this.pressureStrength = 0.05,
this.dampingStrength = 1.0,
this.elasticStrength = 0.25,
this.springStrength = 0.25,
this.viscousStrength = 0.25,
this.surfaceTensionStrengthA = 0.1,
this.surfaceTensionStrengthB = 0.2,
this.powderStrength = 0.5,
this.ejectionStrength = 0.5,
this.colorMixingStrength = 0.5,
});