Interface IAssetExporter
The asset exporter interface.
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public interface IAssetExporter
Properties
Extension
Gets the file export extension.
Declaration
string Extension { get; }
Property Value
Type | Description |
---|---|
string |
Methods
BaseExport(IAssetMetaFile, AssetProfile, ExportContext)
Base export method.
Declaration
Task<ExportResult> BaseExport(IAssetMetaFile asset, AssetProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
IAssetMetaFile | asset | The asset meta file. |
AssetProfile | profile | The profile. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
Task<ExportResult> | An awaitable task of the operation, with the export result. |
GetExportFilePath(IAssetMetaFile, AssetProfile, ExportContext)
Gets the export file path.
Declaration
string GetExportFilePath(IAssetMetaFile asset, AssetProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
IAssetMetaFile | asset | The asset. |
AssetProfile | profile | The profile. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
string | The export file path. |