Table of Contents

Class WmvImporter

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides methods for reading Windows Media Video (.wmv) files for use in the Content Pipeline.

[ContentImporter(".wmv", DisplayName = "Wmv Importer - MonoGame", DefaultProcessor = "VideoProcessor")]
public class WmvImporter : ContentImporter<VideoContent>, IContentImporter
Inheritance
WmvImporter
Implements
Inherited Members

Constructors

WmvImporter()

Initializes a new instance of WmvImporter.

public WmvImporter()

Methods

Import(string, ContentImporterContext)

Called by the XNA Framework when importing a .wmv file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline.

public override VideoContent Import(string filename, ContentImporterContext context)

Parameters

filename string

Name of a game asset file.

context ContentImporterContext

Contains information for importing a game asset, such as a logger interface.

Returns

VideoContent

Resulting game asset.