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)
Imports 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 | Indicates whether the asset is loaded as a raw asset. |
Overrides
ImportHeader(Stream, out FontSource)
Imports 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. |