Method GetStep
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
GetStep<T>(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<T>(float x, T y0, T y1)
Parameters
xfloatThe x.
y0TThe y0.
y1TThe y1.
Returns
- StepResponse<T>
StepResponse.
Type Parameters
T