1
0
mirror of synced 2024-11-14 19:17:39 +01:00
Switch-Toolbox/Switch_Toolbox_Library/Animations/AnimationRewrite/STAnimGroup.cs
KillzXGaming a8e6d104f2 A few improvements.
Panes can now be selected and moved around.
Panes can be resized from corners or edges.
Improved hit detection for panes.
Mouse left click now selects and moves panes. Use middle mouse or hold shift + left mouse to pan/move camera.
More progress on timeline, but currently not functional so currently disabled atm.
Multiple layout animations can be selected and played at once. Goes to the highest amount of frames.
Start to impliment a parts manager. Will allow editing external layout and animation data, and saving back properly.
2019-10-05 13:25:28 -04:00

37 lines
890 B
C#

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;
}
}
}