Class MaterialExporter
Material Exporter class.
Inheritance
MaterialExporter
Implements
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class MaterialExporter : AssetExporter<MaterialMetaFile, MaterialProfile>, IAssetExporter
Properties
Extension
Gets the material export extension.
Declaration
public override string Extension { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GenerateAssetParts(MaterialMetaFile, MaterialProfile, ExportContext)
Exports the asset.
Declaration
protected override Task<List<AssetPart>> GenerateAssetParts(MaterialMetaFile metafile, MaterialProfile profile, ExportContext exportContext)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialMetaFile | metafile | The metafile. |
| MaterialProfile | profile | The profile. |
| ExportContext | exportContext | The export context. |
Returns
| Type | Description |
|---|---|
| Task<List<AssetPart>> | The export result. |