예제 #1
0
 public Color4(Color3b color, float a)
 {
     r      = color.r / 255f;
     g      = color.g / 255f;
     b      = color.b / 255f;
     this.a = a;
 }
예제 #2
0
 public Color4b(Color3b color, int a) : this(color, (byte)a)
 {
 }
예제 #3
0
 public Color3(Color3b color)
 {
     r = color.r / 255f;
     g = color.g / 255f;
     b = color.b / 255f;
 }
예제 #4
0
 public Color4b(Color3b color, byte a) : this(color.r, color.g, color.b, a)
 {
 }