Vector2.Lerp 插值
static function Lerp (from : Vector2, to : Vector2, t : float) : Vector2
Description描述
Linearly interpolates between two vectors.
两个向量之间的线性插值。
Interpolates from towards to by amount t.
按照数字t在form到to之间插值。
t is clamped between [0...1]. When t = 0 returns from. When t = 1 returns to. When t = 0.5 returns the average of from and to.
t是夹在0到1之间。当t=0时,返回from。当t=1时,返回to。当t=0.5时放回from和to之间的平均数。
最后修改:2011年1月4日 Tuesday 21:32