public override UnityEngine.Color GetColour(double x, double y) { // Read: Color colour = SourceModule.GetColour(x, y); // Get: float channel = HslRgb.Saturation(colour.r, colour.g, colour.b); return(new Color(channel, channel, channel, 1f)); }
public override double GetValue(double x, double y) { // Read: Color colour = SourceModule.GetColour(x, y); // Get: float channel = HslRgb.Saturation(colour.r, colour.g, colour.b); return(channel); }