Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
BFNLoader Class Reference

Public Member Functions

BFNData LoadBFN (string arcName, float fontScale, float spacing)
 

Public Attributes

List< SheetSheets = new List<Sheet>()
 
List< GlyphBlockGlyphBlocks = new List<GlyphBlock>()
 
TMP_FontAsset tmpFont
 
Texture2D atlasTexture
 

Properties

CodepointEncoding Encoding [get, set]
 
int Ascent [get, set]
 
int Descent [get, set]
 
int CharacterWidth [get, set]
 
int Leading [get, set]
 
int ReplacementCode [get, set]
 

Private Member Functions

TMP_FontAsset CreateTMPFont ()
 
Texture2D LoadTextureWithSkia (byte[] imageData, int width, int height)
 
void SetCharacterAndGlyphTables (TMP_FontAsset tmpFont, List< TMP_Character > characterTable, List< UnityEngine.TextCore.Glyph > glyphTable)
 
void LoadBFN (EndianBinaryReader reader)
 
void LoadWidths (EndianBinaryReader reader)
 

Member Function Documentation

◆ CreateTMPFont()

TMP_FontAsset BFNLoader.CreateTMPFont ( )
private

◆ LoadBFN() [1/2]

void BFNLoader.LoadBFN ( EndianBinaryReader reader)
private

◆ LoadBFN() [2/2]

BFNData BFNLoader.LoadBFN ( string arcName,
float fontScale,
float spacing )

◆ LoadTextureWithSkia()

Texture2D BFNLoader.LoadTextureWithSkia ( byte[] imageData,
int width,
int height )
private

◆ LoadWidths()

void BFNLoader.LoadWidths ( EndianBinaryReader reader)
private

◆ SetCharacterAndGlyphTables()

void BFNLoader.SetCharacterAndGlyphTables ( TMP_FontAsset tmpFont,
List< TMP_Character > characterTable,
List< UnityEngine.TextCore.Glyph > glyphTable )
private

Member Data Documentation

◆ atlasTexture

Texture2D BFNLoader.atlasTexture

◆ GlyphBlocks

List<GlyphBlock> BFNLoader.GlyphBlocks = new List<GlyphBlock>()

◆ Sheets

List<Sheet> BFNLoader.Sheets = new List<Sheet>()

◆ tmpFont

TMP_FontAsset BFNLoader.tmpFont

Property Documentation

◆ Ascent

int BFNLoader.Ascent
getset

◆ CharacterWidth

int BFNLoader.CharacterWidth
getset

◆ Descent

int BFNLoader.Descent
getset

◆ Encoding

CodepointEncoding BFNLoader.Encoding
getset

◆ Leading

int BFNLoader.Leading
getset

◆ ReplacementCode

int BFNLoader.ReplacementCode
getset

The documentation for this class was generated from the following file: