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
x
floatThe x.
y0
TThe y0.
y1
TThe y1.
Returns
- StepResponse<T>
StepResponse.
Type Parameters
T