Method GetStep
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
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.
public static StepResponse<T> GetStep(float x, T y0, T y1)
Parameters
x
floatThe x.
y0
TThe y0.
y1
TThe y1.
Returns
- StepResponse<T>
StepResponse.