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