摘要: Mathf.Abs绝对值 计算并返回指定参数 f 绝对值。 Mathf.Acos反余弦 static function Acos (f : float) : float 以弧度为单位计算并返回参数 f 中指定的数字的反余弦值。 Mathf.Approximately近似 static functio 阅读全文
posted @ 2016-08-05 17:04 RONGWEIJUN 阅读(3264) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.aichengxu.com/view/2446604 在unity3D中经常用线性插值函数Lerp()来在两者之间插值,两者之间可以是两个材质之间、两个向量之间、两个浮点数之间、两个颜色之间,其函数原型如下:1.Material.Lerp 插值function Lerp( 阅读全文
posted @ 2016-08-05 01:12 RONGWEIJUN 阅读(11897) 评论(0) 推荐(0) 编辑