Click or drag to resize

InterpolateEaseDistance Method (InterpolateFunctionDistance, 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
C#
public static Vector3 EaseDistance(
	InterpolateFunctionDistance ease,
	Vector3 start,
	Vector3 distance,
	float elapsedTime,
	float duration
)

Parameters

ease
Type: DustProductions.CoreInterpolateFunctionDistance
The type of ease function to use
start
Type: Vector3
The starting values
distance
Type: Vector3
The delta between the start and 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: Vector3
The values at the time
See Also