Click or drag to resize

InterpolateEaseDistance 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 EaseDistance(
	InterpolateEaseType easeType,
	float start,
	float distance,
	float elapsedTime,
	float duration
)

Parameters

easeType
Type: DustProductions.CoreInterpolateEaseType
The type of ease function to use
start
Type: SystemSingle
The starting value
distance
Type: SystemSingle
The delta between the start and 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