AnimationKeyframe

class AnimationKeyframe : System.Object, System.IComparable<AnimationKeyframe>

Provides methods and properties for managing a keyframe. A keyframe describes the position of an animation channel at a single point in time.

readonly System.TimeSpan Time

Gets the time offset from the start of the animation to the position described by this keyframe.

Matrix Transform

Gets or sets the position described by this keyframe.

public int CompareTo(AnimationKeyframe other)

Compares this instance of a keyframe to another.

Parameters:
  • other (Microsoft.Xna.Framework.Content.Pipeline.Graphics.AnimationKeyframe) – Keyframe being compared to.
Returns:

Indication of their relative values.