Class ResponseCurveInt
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
A response curve with outputs of int.
[Version(1, 2, 0)]
public class ResponseCurveInt : ResponseCurveBase<int>, IResponseCurve<int>
- Inheritance
-
ResponseCurveInt
- Implements
- Inherited Members
- Extension Methods
Constructors
- ResponseCurveInt(IEnumerable<float>, IEnumerable<int>)
Initializes a new instance of the ResponseCurveInt class.
Methods
- GetLerp(float, float, int, int)
Creates a ResponseCurveInt that linearly interpolates (and rounds) between two output values over a given input range.
- Lerp(int, int, float)
Linearly interpolates between the two given samples.