Click or drag to resize

IResponseCurveTItem Property

If the input is below the inputMin given in the constructor, the output is clamped to the first output sample. If the input is above the inputMax given in the constructor, the output is clamped to the last output sample. Otherwise an index is calculated, and the output is interpolated between outputSample[index] and outputSample[index + 1].

Namespace:  Gamelogic.Extensions.Algorithms
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
T this[
	float input
] { get; }

Parameters

input
Type: SystemSingle
The input for which output is sought.

Property Value

Type: T
See Also