2019-09-28 21:27:48 +00:00
|
|
|
|
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
|
|
|
|
|
{
|
2019-10-05 17:25:28 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the group.
|
|
|
|
|
/// </summary>
|
2019-09-28 21:27:48 +00:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2019-10-05 17:25:28 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The category to place the group when displayed in the timeline.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Category { get; set; }
|
|
|
|
|
|
2019-09-28 21:27:48 +00:00
|
|
|
|
public List<STAnimGroup> SubAnimGroups = new List<STAnimGroup>();
|
2019-10-05 17:25:28 +00:00
|
|
|
|
|
|
|
|
|
public virtual List<STAnimationTrack> GetTracks()
|
|
|
|
|
{
|
|
|
|
|
return new List<STAnimationTrack>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Name;
|
|
|
|
|
}
|
2019-09-28 21:27:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|