lerp<T> static method
ButtonState<T?> ?
lerp<T>(
- ButtonState<
T?> ? a, - ButtonState<
T?> ? b, - double t,
- T? lerpFunction(
- T?,
- T?,
- double
Implementation
static ButtonState<T?>? lerp<T>(
ButtonState<T?>? a,
ButtonState<T?>? b,
double t,
T? Function(T?, T?, double) lerpFunction,
) {
if (a == null && b == null) return null;
return _LerpProperties<T>(a, b, t, lerpFunction);
}