| InterpolateEase Method (InterpolateEaseType, Vector3, Vector3, Single, Single) |
Vector3 interpolation using given easing method. Easing is done independently
on all three vector axis.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Vector3 Ease(
InterpolateEaseType easeType,
Vector3 start,
Vector3 end,
float elapsedTime,
float duration
)
Parameters
- easeType
- Type: DustProductions.CoreInterpolateEaseType
The type of ease function to use - start
- Type: Vector3
The starting values - end
- Type: Vector3
The end values - elapsedTime
- Type: SystemSingle
The amount of time that has passed since the ease began - duration
- Type: SystemSingle
The total amount of time for the ease to take
Return Value
Type:
Vector3The values at the time
See Also