Метод | Описание | |
---|---|---|
LinearInterpolation ( Point starting, Point ending, double completion ) : Point |
Return a value that is a linear interpolation between the beginning value, and the ending value.
|
|
LinearInterpolation ( float2 starting, float2 ending, double completion ) : float2 |
Return a value that is a linear interpolation between the beginning value, and the ending value.
|
|
LinearInterpolation ( int starting, int ending, double completion ) : int |
Return a value that is a linear interpolation between the beginning value, and the ending value.
|
public static LinearInterpolation ( Point starting, Point ending, double completion ) : Point | ||
starting | Point | The initial vector position. |
ending | Point | The final vector position. |
completion | double | The amount of units along in the interpolation. /// this value should range from 0.0 (returns initial value) and 1.0 (returns final value). |
Результат | Point |
public static LinearInterpolation ( float2 starting, float2 ending, double completion ) : float2 | ||
starting | float2 | The initial vector position. |
ending | float2 | The final vector position. |
completion | double | The amount of units along in the interpolation. /// this value should range from 0.0 (returns initial value) and 1.0 (returns final value). |
Результат | float2 |
public static LinearInterpolation ( int starting, int ending, double completion ) : int | ||
starting | int | The initial vector position. |
ending | int | The final vector position. |
completion | double | The amount of units along in the interpolation. /// this value should range from 0.0 (returns initial value) and 1.0 (returns final value). |
Результат | int |