Class FontExporter
The font exporter class.
Inheritance
FontExporter
Implements
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class FontExporter : AssetExporter<FontMetaFile, FontProfile>, IAssetExporter
Fields
FontCache
The font cache location.
Declaration
public const string FontCache = "Cache/Fonts"
Field Value
Type | Description |
---|---|
string |
Properties
Extension
Gets the exporter file extension.
Declaration
public override string Extension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GenerateAssetParts(FontMetaFile, FontProfile, ExportContext)
Exports the asset.
Declaration
protected override Task<List<AssetPart>> GenerateAssetParts(FontMetaFile metafile, FontProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
FontMetaFile | metafile | The meta file. |
FontProfile | profile | The profile. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
Task<List<AssetPart>> | The export result. |