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

UV2_W() static private method

static private UV2_W ( PaintJob j, int idx, object &v, float r ) : void
j PaintJob
idx int
v object
r float
return void
        static void UV2_W(PaintJob j, int idx, ref object v, float r)
        {
            var s = j.stream;
             Vector4 vec = s.uv2[idx];
             vec.w = Mathf.Lerp(vec.w, (float)v, r);
             s.uv2[idx] = vec;
        }