Delegate TweenStaticArithmeticPlugin.ValueAtPosition<TValue>
Delegate for a callback calculating the value at a position in a tween.
Namespace: Sttz.Tweener.Core
Assembly: cs.temp.dll.dll
Syntax
public delegate TValue ValueAtPosition<TValue>(TValue start, TValue end, TValue diff, float position);
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | start | Start value |
| TValue | end | End value |
| TValue | diff | Difference between start and end |
| System.Single | position | Normalized position between 0 and 1 |
Returns
| Type | Description |
|---|---|
| TValue | The value at the given position between start and end |
Type Parameters
| Name | Description |
|---|---|
| TValue |