sunLightColor property
Linear-RGB color the sun contributes as a directional light. Combined with sunLightIntensity.
Implementation
@override
Vector3 get sunLightColor {
final peak = sunLightIntensity;
return peak > 0 ? sunColor / peak : Vector3(1, 1, 1);
}