Hi I have the following snippet in java I need to convert to vb.net
float position =(value - startValue) / (middleValue - startValue);
Color4f result = new Color4f();
result.interpolate(startColor, middleColor, position);
return result;
Does anyone know how I can do the color4f.interpolate in vb.net? Have found an article here for c# which use lambda operators but I have no idea what they mean and how to implement them in vb.net
Stackoverflow link to c# article (Color Interpolation Between 3 Colors in .NET)
And what is the best alternative for color4f in vb.net?
Thanks.