Interface IContentImporter
Accesses a statically typed ContentImporter instance from generic code using dynamic typing.
public interface IContentImporter
Methods
Import(string, ContentImporterContext)
Imports an asset from the specified file.
object Import(string filename, ContentImporterContext context)
Parameters
filename
stringName of the game asset file.
context
ContentImporterContextA ContentImporterContext class containing information for importing a game asset, such as a logger interface.
Returns
- object
Resulting game asset.