Class FontDataPart
This class represents a font data asset part.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class FontDataPart : AssetPart
Fields
AtlasData
The font atlas data.
Declaration
public MSDFSchema AtlasData
Field Value
Type | Description |
---|---|
MSDFSchema |
AtlasTexture
The font atlas texture.
Declaration
public byte[] AtlasTexture
Field Value
Type | Description |
---|---|
byte[] |
Methods
Read(BinaryReader)
Reads this asset part.
Declaration
public static FontDataPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
FontDataPart | The loaded asset part. |
Write(BinaryWriter)
Writes the sub-asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The stream. |