| DRModelImporterImport Method |
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: DigitalRune.Graphics.Content.PipelineAssembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax public override NodeContent Import(
string filename,
ContentImporterContext context
)
Public Overrides Function Import (
filename As String,
context As ContentImporterContext
) As NodeContent
public:
virtual NodeContent^ Import(
String^ filename,
ContentImporterContext^ context
) override
abstract Import :
filename : string *
context : ContentImporterContext -> NodeContent
override Import :
filename : string *
context : ContentImporterContext -> NodeContent
Parameters
- filename
- Type: SystemString
Name of a game asset file. - context
- Type: ContentImporterContext
Contains information for importing a game asset, such as a logger interface.
Return Value
Type:
NodeContentResulting game asset.
See Also