AnimationKeyframe Constructor

Note

This constructor is available only when developing for Windows.

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

Syntax

'Declaration
Public Sub New ( _
         time As TimeSpan, _
         transform As Matrix _
)
public AnimationKeyframe (
         TimeSpan time,
         Matrix transform
)
public:
AnimationKeyframe(
         TimeSpan time,
         Matrix transform
)

Parameters

  • time
    Type: TimeSpan
    Time offset of the keyframe.
  • transform
    Type: Matrix
    Position of the keyframe.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP