Switch-Toolbox/Switch_Toolbox_Library/Animations/AnimationRewrite/STAnimGroup.cs

37 lines
890 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Toolbox.Library.Animations
{
/// <summary>
/// Represents a group that stores animation tracks and sub groups.
/// </summary>
public class STAnimGroup
{
/// <summary>
/// The name of the group.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The category to place the group when displayed in the timeline.
/// </summary>
public string Category { get; set; }
public List<STAnimGroup> SubAnimGroups = new List<STAnimGroup>();
public virtual List<STAnimationTrack> GetTracks()
{
return new List<STAnimationTrack>();
}
public override string ToString()
{
return Name;
}
}
}