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

UV3_Z() static private method

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