Searched refs:beginColor (Results 1 – 1 of 1) sorted by relevance
302 public void interpolate(ColorRGBA beginColor, ColorRGBA finalColor, float changeAmnt) { in interpolate() argument303 this.r = (1 - changeAmnt) * beginColor.r + changeAmnt * finalColor.r; in interpolate()304 this.g = (1 - changeAmnt) * beginColor.g + changeAmnt * finalColor.g; in interpolate()305 this.b = (1 - changeAmnt) * beginColor.b + changeAmnt * finalColor.b; in interpolate()306 this.a = (1 - changeAmnt) * beginColor.a + changeAmnt * finalColor.a; in interpolate()