示例#1
0
 public void CleanUp()
 {
     Bound          = KindColorBound.NON;
     Operation      = KindColorOperation.NON;
     VertexColor    = null;
     RatePixelAlpha = null;
 }
示例#2
0
 public void Duplicate(AttributeColorBlend Original)
 {
     Bound     = Original.Bound;
     Operation = Original.Operation;
     for (int i = 0; i < (int)Library_SpriteStudio.KindVertexNo.TERMINATOR2; i++)
     {
         VertexColor[i]    = Original.VertexColor[i];
         RatePixelAlpha[i] = Original.RatePixelAlpha[i];
     }
 }
示例#3
0
 public ValueColor()
 {
     Bound          = KindColorBound.NON;
     Operation      = KindColorOperation.MIX;
     VertexColor    = new Color[(int)VertexNo.TERMINATOR4];
     RatePixelAlpha = new float[(int)VertexNo.TERMINATOR4];
     for (int i = 0; i < VertexColor.Length; i++)
     {
         VertexColor[i]    = Color.white;
         RatePixelAlpha[i] = 1.0f;
     }
 }
 public ValueColor()
 {
     Bound = KindColorBound.NON;
     Operation = KindColorOperation.MIX;
     VertexColor = new Color[(int)VertexNo.TERMINATOR4];
     RatePixelAlpha = new float[(int)VertexNo.TERMINATOR4];
     for(int i=0; i<VertexColor.Length; i++)
     {
         VertexColor[i] = Color.white;
         RatePixelAlpha[i] = 1.0f;
     }
 }