コード例 #1
0
ファイル: ColoredItem.cs プロジェクト: windygu/actools
 public ColoredItem([NotNull] Dictionary <PaintShopDestination, PaintShop.TintedEntry> replacements, [NotNull] CarPaintColors colors) : base(false)
 {
     Replacements            = replacements;
     Colors                  = colors;
     Colors.PropertyChanged += OnColorsChanged;
 }
コード例 #2
0
 public TintedWindows(Dictionary <PaintShopDestination, PaintShop.TintedEntry> replacements, CarPaintColors colors, double defaultAlpha = 0.23,
                      bool fixedColor = false) : base(replacements, colors)
 {
     DefaultAlpha = defaultAlpha;
     FixedColor   = fixedColor;
 }
コード例 #3
0
ファイル: ColoredItem.cs プロジェクト: windygu/actools
 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)
 {
 }
コード例 #4
0
 public TintedWindows([Localizable(false)] PaintShopDestination diffuseTexture, CarPaintColors colors, double defaultAlpha = 0.23, bool fixedColor = false)
     : base(diffuseTexture, colors)
 {
     DefaultAlpha = defaultAlpha;
     FixedColor   = fixedColor;
 }