public ColoredItem([NotNull] Dictionary <PaintShopDestination, PaintShop.TintedEntry> replacements, [NotNull] CarPaintColors colors) : base(false) { Replacements = replacements; Colors = colors; Colors.PropertyChanged += OnColorsChanged; }
public TintedWindows(Dictionary <PaintShopDestination, PaintShop.TintedEntry> replacements, CarPaintColors colors, double defaultAlpha = 0.23, bool fixedColor = false) : base(replacements, colors) { DefaultAlpha = defaultAlpha; FixedColor = fixedColor; }
public ColoredItem([NotNull, Localizable(false)] PaintShopDestination diffuseTexture, [NotNull] CarPaintColors colors) : this(new Dictionary <PaintShopDestination, PaintShop.TintedEntry> { [diffuseTexture] = new PaintShop.TintedEntry(PaintShopSource.White, null, null) }, colors) { }
public TintedWindows([Localizable(false)] PaintShopDestination diffuseTexture, CarPaintColors colors, double defaultAlpha = 0.23, bool fixedColor = false) : base(diffuseTexture, colors) { DefaultAlpha = defaultAlpha; FixedColor = fixedColor; }