Click or drag to resize

InterpolateEase Method (InterpolateEaseType, Single, Single, Single, Single)

Interpolation using given easing method.

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static float Ease(
	InterpolateEaseType easeType,
	float start,
	float end,
	float elapsedTime,
	float duration
)

Parameters

easeType
Type: DustProductions.CoreInterpolateEaseType
The type of ease function to use
start
Type: SystemSingle
The starting value
end
Type: SystemSingle
The end value
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: Single
The value at the time
See Also