Class FileExporter
The file exporter class.
Implements
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class FileExporter : BaseAssetExporter<IAssetMetaFile, AssetProfile>, IAssetExporter
Properties
Extension
Gets the exporter file extension.
Declaration
public override string Extension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
ExportOutputFile(IAssetMetaFile, AssetProfile, ExportContext)
Exports the assets.
Declaration
protected override Task<ExportResult> ExportOutputFile(IAssetMetaFile asset, AssetProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
IAssetMetaFile | asset | The asset meta file. |
AssetProfile | profile | The profile object. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
Task<ExportResult> | Awaitable task of the operation with the result of the export process. |
Overrides
GetExportFilePath(IAssetMetaFile, AssetProfile, ExportContext)
Gets the export file path.
Declaration
public override 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. |