AnimationChannel.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
public int Add (
AnimationKeyframe item
)
Parameters
- item
Keyframe to be added to the channel.
Return Value
Index of the new keyframe.
See Also
Reference
AnimationChannel Class
AnimationChannel Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista