static private FromArgb ( int R, int G, int B ) : |
||
R | int | |
G | int | |
B | int | |
Результат |
private BGRA GetColor(BGRA *Data, int Width, int Height, int x, int y) { if (x < 0 || y < 0 || x >= Width || y >= Height) { return(BGRA.FromArgb(0, 0, 0, 0)); } return(Data[y * Width + x]); }
public BGRA Lerp3x1(BGRA color1, BGRA color2) { return(m_Engine.Lerp.Lerp(color1, 3, color2, 1, BGRA.FromArgb(0, 0, 0, 0), 0)); }