public ColorValue GetClamp(ColorValue min, ColorValue max) { ColorValue r = this; r.Clamp(min, max); return(r); }
public void Clamp(ColorValuePowered min, ColorValuePowered max) { Color.Clamp(min.Color, max.Color); if (Power < min.Power) { Power = min.Power; } else if (Power > max.Power) { Power = max.Power; } }