Click to Rate and Give Feedback

  Switch on low bandwidth view
XNA Game Studio 3.1
ContentImporter.Import Method
Bb197436.note(en-us,XNAGameStudio.31).gifNote
This method is available only when developing for Windows.

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

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

C#
public abstract T Import (
         string filename,
         ContentImporterContext context
)

Parameters

filename
Name of a game asset file.
context
Contains information for importing a game asset, such as a logger interface.

Return Value

Resulting game asset.
Windows XP SP2, Windows Vista
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker