Exemplo n.º 1
0
        protected override MutableObject Mutate(MutableObject mutable)
        {
            foreach (var entry in RGBColor.GetEntries(mutable))
            {
                float outH, outS, outV;
                ColorUtility.RGBToHSV(RGBColor.GetValue(entry), out outH, out outS, out outV);

                HTarget.SetValue(outH, entry);
                STarget.SetValue(outS, entry);
                VTarget.SetValue(outV, entry);
            }

            return(mutable);
        }