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