コード例 #1
0
 /// <summary>
 /// Get the easing value of a function at a specific moment
 /// </summary>
 /// <param name="progress">The progress between 0 and 1</param>
 /// <returns>The easing value at this moment in the function</returns>
 public float Interpolate(float progress)
 {
     return(MtaShared.GetEasingValue(progress, Name, Period, Amplitude, Overshoot));
 }