| InterpolateNewEase Method (InterpolateFunction, Vector3, Vector3, Single) |
Returns sequence generator from start to end over duration using the
given easing function. The sequence is generated as it is accessed
using the Time.deltaTime to calculate the portion of duration that has
elapsed.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static IEnumerator NewEase(
InterpolateFunction ease,
Vector3 start,
Vector3 end,
float duration
)
Parameters
- ease
- Type: DustProductions.CoreInterpolateFunction
The ease function to use - start
- Type: Vector3
The starting values - end
- Type: Vector3
The end values - duration
- Type: SystemSingle
The length of time to take
Return Value
Type:
IEnumeratorThe current values at the time
See Also