static private FlowUV1_XY ( |
||
j | ||
idx | int | |
v | object | |
r | float | |
return | void |
static void FlowUV1_XY(PaintJob j, int idx, ref object v, float r)
{
var s = j.stream;
Vector4 o = s.uv1[idx];
Vector2 t = (Vector2)v;
o.x = Mathf.Lerp(o.x, t.x, r);
o.y = Mathf.Lerp(o.y, t.y, r);
s.uv1[idx] = o;
}