颜色的插值

Color.Lerp(Color.white,Color.yellow,t);

计算结果:(b-a)*t+a,t[0,1]

Math.Lerp可以是向量,颜色,float等


首页 我的博客
粤ICP备17103704号