Share via


System.Collections.Generic.ICollection<Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationKeyframe>.Add Method

Adds a new keyframe to the collection, automatically sorting the contents according to keyframe times.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

private void System.Collections.Generic.ICollection<Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationKeyframe>.Add (
         AnimationKeyframe item
)

Parameters

  • item
    Keyframe to be added to the channel.

See Also

Reference

AnimationChannel Class
AnimationChannel Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista