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

Provides methods and properties for managing a keyframe. A keyframe describes the position of an animation channel at a single point in time.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationKeyframe

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public sealed class AnimationKeyframe : IComparable<AnimationKeyframe>

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The AnimationKeyframe type exposes the following members.

  Platforms Name Description
AnimationKeyframe Initializes a new instance of AnimationKeyframe with the specified time offsetand transform. 
Top
  Platforms Name Description
Time Gets the time offset from the start of the animation to the position described by this keyframe. 
Transform Gets or sets the position described by this keyframe. 
Top
  Platforms Name Description
CompareTo Compares this instance of a keyframe to another. (Implements IComparable<T>.CompareTo().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop