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
filenamestringName of the game asset file.
contextContentImporterContextA ContentImporterContext class containing information for importing a game asset, such as a logger interface.
Returns
- object
Resulting game asset.