JBooth.VertexPainterPro.VertexPainterWindow.FlowUV1_XY C# (CSharp) Method

FlowUV1_XY() static private method

static private FlowUV1_XY ( PaintJob j, int idx, object &v, float r ) : void
j PaintJob
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;
        }