AtmosphereParameters constructor

AtmosphereParameters({
  1. int particles = 4000,
  2. int minParticleSize = 50,
  3. int maxParticleSize = 100,
  4. double radius = 0.0,
  5. double thickness = 1.5,
  6. double density = 0,
  7. double opacity = 0.35,
  8. double scale = 8,
  9. Color? color,
  10. double speed = 0.03,
  11. Vector3? lightDirection,
})

Implementation

AtmosphereParameters({
  this.particles = 4000,
  this.minParticleSize = 50,
  this.maxParticleSize = 100,
  this.radius = 0.0,
  this.thickness = 1.5,
  this.density = 0,
  this.opacity = 0.35,
  this.scale = 8,
  Color? color,
  this.speed = 0.03,
  Vector3? lightDirection
}){
  this.color = color ?? Color.fromHex32(0xffffff);
  this.lightDirection = lightDirection ?? Vector3(1,1,1);
}