Class PrefabExporter
The prefab asset exporter.
Implements
Inherited Members
Namespace: Evergine.Assets.Exporters.Prefab
Assembly: Evergine.Assets.dll
Syntax
public class PrefabExporter : BaseAssetExporter<PrefabMetaFile, PrefabProfile>, IAssetExporter
Properties
Extension
Gets the asset export extension.
Declaration
public override string Extension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
ExportOutputFile(PrefabMetaFile, PrefabProfile, ExportContext)
Exports the assets.
Declaration
protected override Task<ExportResult> ExportOutputFile(PrefabMetaFile asset, PrefabProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
PrefabMetaFile | asset | The asset meta file. |
PrefabProfile | profile | The profile object. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
Task<ExportResult> | An awaitable task representing the result of the export process. |
Overrides
GetExportFilePath(PrefabMetaFile, PrefabProfile, ExportContext)
Gets the export file path.
Declaration
public override string GetExportFilePath(PrefabMetaFile asset, PrefabProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
PrefabMetaFile | asset | The asset. |
PrefabProfile | profile | The profile. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
string | The export file path. |