| InterpolateNewEase Method (InterpolateFunction, Vector3, Vector3, Int32) |
Instead of easing based on time, generate n interpolated points (slices)
between the start and end positions.
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,
int slices
)
Parameters
- ease
- Type: DustProductions.CoreInterpolateFunction
The ease function to use - start
- Type: Vector3
The starting values - end
- Type: Vector3
The end values - slices
- Type: SystemInt32
The number of steps to take
Return Value
Type:
IEnumeratorThe current value at the step
See Also