ParticleSystem constructor

ParticleSystem(
  1. World world, {
  2. double pressureStrength = 0.05,
  3. double dampingStrength = 1.0,
  4. double elasticStrength = 0.25,
  5. double springStrength = 0.25,
  6. double viscousStrength = 0.25,
  7. double surfaceTensionStrengthA = 0.1,
  8. double surfaceTensionStrengthB = 0.2,
  9. double powderStrength = 0.5,
  10. double ejectionStrength = 0.5,
  11. 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,
});