![]() |
Paradox Game Engine
v1.0.0 beta06
|
Imports a raw asset into the asset system. More...
Public Member Functions | |
AssetImporterParameters | GetDefaultParameters (bool isForReImport) |
Gets the default parameters for this importer. More... | |
IEnumerable< AssetItem > | Import (UFile rawAssetPath, AssetImporterParameters importParameters) |
Imports a raw assets from the specified path into the specified package. More... | |
Properties | |
Guid | Id [get] |
Gets an unique identifier to identify the importer. See remarks. More... | |
string | Name [get] |
Gets the name of this importer. More... | |
string | Description [get] |
Gets the description of this importer. More... | |
string | SupportedFileExtensions [get] |
Gets the supported file extensions (separated by ',' for multiple extensions) by this importer. More... | |
int | DisplayRank [get] |
Gets the rank of this importer, higher is the value, higher the importer is important or commonly used. Default is 100 . More... | |
Imports a raw asset into the asset system.
Definition at line 13 of file IAssetImporter.cs.
AssetImporterParameters SiliconStudio.Assets.IAssetImporter.GetDefaultParameters | ( | bool | isForReImport | ) |
Gets the default parameters for this importer.
isForReImport |
The supported types.
Implemented in SiliconStudio.Paradox.Assets.Audio.RawMusicAssetImporter, SiliconStudio.Paradox.Assets.Audio.RawSoundAssetImporter, SiliconStudio.Paradox.Assets.Texture.TextureImporter, SiliconStudio.Assets.AssetImporterBase, and SiliconStudio.Paradox.Assets.Model.ModelAssetImporter.
IEnumerable<AssetItem> SiliconStudio.Assets.IAssetImporter.Import | ( | UFile | rawAssetPath, |
AssetImporterParameters | importParameters | ||
) |
Imports a raw assets from the specified path into the specified package.
rawAssetPath | The path to a raw asset on the disk. |
importParameters | The parameters. It is mandatory to call GetDefaultParameters and pass the parameters instance here |
Implemented in SiliconStudio.Paradox.Assets.Model.ModelAssetImporter, SiliconStudio.Paradox.Assets.Audio.RawMusicAssetImporter, SiliconStudio.Paradox.Assets.Audio.RawSoundAssetImporter, SiliconStudio.Paradox.Assets.Texture.TextureImporter, and SiliconStudio.Assets.AssetImporterBase.
|
get |
Gets the description of this importer.
The description.
Definition at line 35 of file IAssetImporter.cs.
|
get |
Gets the rank of this importer, higher is the value, higher the importer is important or commonly used. Default is 100
.
The rank.
Definition at line 55 of file IAssetImporter.cs.
|
get |
Gets an unique identifier to identify the importer. See remarks.
The identifier.
This identifier is used to recover the importer used for a particular asset. This Guid must be unique and stored statically in the definition of an importer. It is used to reimport an existing asset with the same importer.
Definition at line 23 of file IAssetImporter.cs.
Referenced by SiliconStudio.Assets.AssetRegistry.RegisterImporter().
|
get |
Gets the name of this importer.
The name.
Definition at line 29 of file IAssetImporter.cs.
Referenced by SiliconStudio.Assets.AssetImportSession.AddFile().
|
get |
Gets the supported file extensions (separated by ',' for multiple extensions) by this importer.
Definition at line 41 of file IAssetImporter.cs.