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