Class FontImporter
The Font importer.
Implements
Inherited Members
Namespace: Evergine.Assets.Importers.Font
Assembly: Evergine.Assets.dll
Syntax
public class FontImporter : AAssetImporter<FontSource>, IAssetImporter
Properties
Extensions
Gets the importer file extensions.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Methods
ImportData(Stream, FontSource, bool)
Import the asset data.
Declaration
public override void ImportData(Stream stream, FontSource resource, bool rawAsset = false)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
FontSource | resource | The output data. |
bool | rawAsset | The asset is loaded as raw asset. |
Overrides
ImportHeader(Stream, out FontSource)
Import the asset header.
Declaration
public override void ImportHeader(Stream stream, out FontSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
FontSource | resource | The output header. |