 | InterpolateFunctionDistance Delegate |
An ease distance function delegate
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic delegate float FunctionDistance(
float start,
float distance,
float elapsedTime,
float duration
)
Parameters
- start
- Type: SystemSingle
The starting value - distance
- Type: SystemSingle
The delta between the start and the end values - elapsedTime
- Type: SystemSingle
The time since the ease began - duration
- Type: SystemSingle
The total length of time for the ease
Return Value
Type:
SingleThe value at the time passed in
See Also