예제 #1
0
 public void Set(ColorPair source)
 {
     Set(source.color1, source.color2);
 }
예제 #2
0
 public void Lerp(ColorPair first, ColorPair second, float time)
 {
     this.color1 = Color.Lerp(first.color1, second.color1, time);
     this.color2 = Color.Lerp(first.color2, second.color2, time);
 }
예제 #3
0
 public ColorPair(ColorPair source) : this(source.color1, source.color2)
 {
 }