private void PresetClickedCallback(int clickCount, object presetObject) { Color c = (Color) presetObject; if (!this.m_HDR && (c.maxColorComponent > 1f)) { c = c.RGBMultiplied((float) (1f / c.maxColorComponent)); } this.SetColor(c); this.colorChanged = true; }