- 81
- 0
- 约9.42千字
- 约 12页
- 2021-11-29 发布于江苏
- 举报
Unity3D 中的线性插值Lerp()函数解析
unity3D 中经常用线性插值函数Lerp()来在两者之间插值,两者之间可以是两个材质
之间、两个向量之间、两个浮点数之间、两个颜色之间,其函数原型如下:
Material.Lerp 插值
function Lerp (start : Material, end : Material, t : float) : void
在两个材质之间插值
Vector2.Lerp 插值
static function Lerp (from : Vector
原创力文档

文档评论(0)