Class StepResponse<T>
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
A response curve with a step response.
public class StepResponse<T> : ResponseCurveBase<T>, IResponseCurve<T>
Type Parameters
T
- Inheritance
-
StepResponse<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
Methods
- GetStep(float, T, T)
Gets the step response that returns y0 for all inputs less than x, and y1 for all inputs greater than or equal to x.
- Lerp(T, T, float)
Linearly interpolates between the two given samples.