public void CleanUp() { Bound = KindColorBound.NON; Operation = KindColorOperation.NON; VertexColor = null; RatePixelAlpha = null; }
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]; } }
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; } }