AtmosphereParameters constructor
AtmosphereParameters({})
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);
}