Interface: FontAsset
Font asset to use in the game.
Properties
fontName
fontName:
string
Name of the font to use when referring to it within m2c2kit
Source
lazy?
optional
lazy:boolean
If true, the font will not be fully loaded until it is needed. Default is false. Lazy loading is useful for fonts involved in localization. These should be lazy loaded because they may not be needed.
Source
sharedFont?
Internal
optional
sharedFont:SharedFont
Font url and raw data that has been shared with other games in the session. Undefined if this font was not shared. For m2c2kit library use only
Source
url
url:
string
URL of font (TrueType font) to load