namespace RhythmBase.Components.Easing
{
///
/// Represents a node in the easing process.
///
/// The target value of the easing node.
public struct EaseNode(float target)
{
///
/// Gets or sets the time at which the easing node starts.
///
public float Time { get; set; } = 0;
///
/// Gets or sets the target value of the easing node.
///
public float Target { get; set; } = target;
///
/// Gets or sets the duration of the easing node.
///
public float Duration { get; set; } = 0;
///
/// Gets or sets the type of easing to be applied.
///
public EaseType Type { get; set; } = EaseType.Linear;
}
}