Click or drag to resize

TweenT Constructor

Initializes a new Tween with a given lerp function.

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public Tween(
	Func<ITween<T>, T, T, float, T> lerpFunc
)

Parameters

lerpFunc
Type: SystemFuncITweenT, T, T, Single, T
The interpolation function for the tween type.
Remarks
C# generics are good but not good enough. We need a delegate to know how to interpolate between the start and end values for the given type.
See Also