/* * Color DisabledColor(Color color) * { * return Color.Lerp(Color.white, color, 0.5f); * } */ public void StartUpdatingColormap() { isUpdatingColormap = true; calculator = new ColormapCalculator(_target.preview, _target.palette, _target.usedColors, _target.numberOfColors, DoneUpdatingColormap); //debugUpdateStartTime = Time.time; }
public void UpdateColormap() { isUpdatingColormap = true; calculator = new ColormapCalculator(_target.colormapPrecision, _target.palette, _target.usedColors, _target.numberOfColors, DoneUpdatingColormap); }