static private UV3_AsColor ( PaintJob j, int idx, object &v, float r ) : void | ||
j | PaintJob | |
idx | int | |
v | object | |
r | float | |
return | void |
static void UV3_AsColor(PaintJob j, int idx, ref object v, float r)
{
var s = j.stream;
Color c = (Color)v;
Vector4 asVector = new Vector4(c.r, c.g, c.b, c.a);
s.uv3[idx] = Vector4.Lerp(s.uv3[idx], asVector, r);
}