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 location of the font cache.
Declaration
public const string FontCache = "Cache/Fonts"
Field Value
| Type | Description |
|---|---|
| string |
Properties
Extension
Gets the exporter's 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 metafile. |
| FontProfile | profile | The profile. |
| ExportContext | exportContext | The export context. |
Returns
| Type | Description |
|---|---|
| Task<List<AssetPart>> | The export result. |