Vector4.Lerp 插值

static function Lerp (from : Vector4, to : Vector4, t : float) : Vector4

Description描述

Linearly interpolates between two vectors.

两个向量之间的线形插值。

Interpolates from towards to by amount t.

按照数字t在from到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的平均数。

Page last updated: 2011-1-9