Share via


AnimationKeyframe Constructor

Initializes a new instance of AnimationKeyframe with the specified time offsetand transform.

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

Syntax

public AnimationKeyframe (
         TimeSpan time,
         Matrix transform
)

Parameters

  • time
    Time offset of the keyframe.
  • transform
    Position of the keyframe.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista