Interpolates between two values using a linear function by a given amount.
'宣言
Public Overloads Shared Function Lerp( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As System.Single
public static System.float Lerp(
System.float ,
System.float ,
System.float
)
パラメータ
- from
- Value to interpolate from.
- to
- Value to interpolate to.
- amount
- Interpolation amount.
戻り値の型
The result of linear interpolation of values based on the amount.