FogExp2 constructor
The color parameter is passed to the Color
constructor to set the color property.
Implementation
FogExp2(int color,[ double? density]) {
name = 'FogExp2';
this.color = Color.fromHex32(color);
this.density = (density != null) ? density : 0.00025;
isFogExp2 = true;
}