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.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
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. |
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. |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop