Skip to main content

TextFont.TextFontLOD

A class in Root.Township, the global namespace.

One LOD level of a TextFont: the letter meshes for lower case, upper case, numbers and other characters.

Constructors​

MemberWhat it is
TextFontLOD()Creates a TextFont.TextFontLOD with default values.

Fields​

4 private and internal fields
MemberWhat it is
private LetterMesh[] alphaLowerLetter meshes for lower case letters.
private LetterMesh[] alphaUpperLetter meshes for upper case letters.
private LetterMesh[] numericLetter meshes for digits.
private LetterMesh[] otherLetter meshes for punctuation and other characters.

Methods​

MemberWhat it is
void FillDictionary(LetterMesh[] dictionary)Writes every letter mesh into the array at the index of its character code.
void Setup(LetterMesh[] alphaLower, LetterMesh[] alphaUpper, LetterMesh[] numeric, LetterMesh[] other)Replaces all four letter mesh arrays.

Used in​

Members of other types that take, return or hold a TextFontLOD: