Class ResponseCurveBase<T>
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
A class that can be used as the base of the implementation of a response curve.
[Version(1, 2, 0)]
public abstract class ResponseCurveBase<T> : IResponseCurve<T>
Type Parameters
T
- Inheritance
-
ResponseCurveBase<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
- ResponseCurveBase(IEnumerable<float>, IEnumerable<T>)
Constructs a new ResponseCurveBase.
Properties
- this[float]
Evaluates the curve at the given input and returns the result.
Methods
- Evaluate(float)
Evaluates the curve at the specified value.
- Lerp(T, T, float)
Linearly interpolates between the two given samples.