Delegate LerpFunc<TValue>
Standard linear interpolation function: "start + (end - start) * position"
Namespace: Aximo.Engine
Assembly: AxEngine.dll
Syntax
public delegate TValue LerpFunc<TValue>(TValue start, TValue end, float position);
Parameters
Type | Name | Description |
---|---|---|
TValue | start | |
TValue | end | |
System.Single | position |
Returns
Type | Description |
---|---|
TValue | The interpolated value, generally using "start + (end - start) * position" |
Type Parameters
Name | Description |
---|---|
TValue |