添加对 Core 的直接引用

This commit is contained in:
OLDREDSTONE
2025-03-25 15:49:57 +08:00
parent 24907abedb
commit 06c19bf10a
296 changed files with 24961 additions and 2 deletions
@@ -0,0 +1,29 @@
namespace RhythmBase.Components.Easing
{
/// <summary>
/// Represents a node in the easing process.
/// </summary>
/// <param name="target">The target value of the easing node.</param>
public struct EaseNode(float target)
{
/// <summary>
/// Gets or sets the time at which the easing node starts.
/// </summary>
public float Time { get; set; } = 0;
/// <summary>
/// Gets or sets the target value of the easing node.
/// </summary>
public float Target { get; set; } = target;
/// <summary>
/// Gets or sets the duration of the easing node.
/// </summary>
public float Duration { get; set; } = 0;
/// <summary>
/// Gets or sets the type of easing to be applied.
/// </summary>
public EaseType Type { get; set; } = EaseType.Linear;
}
}