Method OffsetSaturation
OffsetSaturation(IGenerator<Color>, IGenerator<float>)
Creates a generator that generates colors from a given color generator, with the saturation offset by amounts generated from another generator.
public static IGenerator<Color> OffsetSaturation(this IGenerator<Color> source, IGenerator<float> saturationOffset)
Parameters
source
IGenerator<Color>The source.
saturationOffset
IGenerator<float>The saturation offset generator. This generator must generate values between 0 and 1.
Returns
- IGenerator<Color>
IGenerator<Color>.