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