AnimationChannel Class (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Provides methods and properties for maintaining an animation channel. An animation channel is a collection of keyframes describing the movement of a single bone or rigid object.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationChannel

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[DefaultMemberAttribute("Item")]
public sealed class AnimationChannel : ICollection<AnimationKeyframe>, IEnumerable<AnimationKeyframe>, IEnumerable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The AnimationChannel type exposes the following members.

  Platforms Name Description
AnimationChannel Initializes a new instance of AnimationChannel. 
Top
  Platforms Name Description
Count Gets the number of keyframes in the collection. (Implements Count().)
Item Gets the keyframe at the specified index position. 
Top
  Platforms Name Description
Add Adds a new keyframe to the collection, automatically sorting the contents according to keyframe times. 
Clear Removes all keyframes from the collection. (Implements ICollection<T>.Clear().)
Contains Searches the collection for the specified keyframe. (Implements ICollection<T>.Contains().)
GetEnumerator Returns an enumerator that iterates through the keyframes. (Implements IEnumerable<T>.GetEnumerator().)
IndexOf Determines the index for the specified keyframe. 
Remove Removes the specified keyframe from the collection. (Implements ICollection<T>.Remove().)
RemoveAt Removes the keyframe at the specified index position. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop