Font

This class represents a text font asset! On the back-end, this asset is composed of a texture with font characters rendered to it, and a list of data about where, and how large those characters are on the texture.

This asset is used anywhere that text shows up, like in the UI or Text classes!

Static Methods

   
Find Searches the asset list for a font with the given Id, returning null if none is found.
FromFile Loads a font and creates a font asset from it.