mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
19 lines
655 B
C#
19 lines
655 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
namespace osu.Framework.Graphics.Transforms
|
|
{
|
|
/// <summary>
|
|
/// An interface for an easing function that is applied to <see cref="Transform{TValue}"/>s.
|
|
/// </summary>
|
|
public interface IEasingFunction
|
|
{
|
|
/// <summary>
|
|
/// Applies the easing function to a time value.
|
|
/// </summary>
|
|
/// <param name="time">The time value to apply the easing to.</param>
|
|
/// <returns>The eased time value.</returns>
|
|
double ApplyEasing(double time);
|
|
}
|
|
}
|