public static T GetValue <T>(this IAnimation <T> animation, TimeSpan time, T defaultSource, T defaultTarget) { T result = default(T); animation.GetValue(time, ref defaultSource, ref defaultTarget, ref result); return(result); }