// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics { /// /// Provides properties for maintaining an animation. /// public class AnimationContent : ContentItem { AnimationChannelDictionary channels; TimeSpan duration; /// /// Gets the collection of animation data channels. Each channel describes the movement of a single bone or rigid object. /// public AnimationChannelDictionary Channels { get { return channels; } } /// /// Gets or sets the total length of the animation. /// public TimeSpan Duration { get { return duration; } set { duration = value; } } /// /// Initializes a new instance of AnimationContent. /// public AnimationContent() { channels = new AnimationChannelDictionary(); } } }