Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:GUIFont (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIFont
Package: 
XInterface
Direct subclasses:
FntUT2K4Medium, FntUT2k4Default, FntUT2k4Header, FntUT2k4IRC, FntUT2k4Large, FntUT2k4MainMenu, FntUT2k4Menu, FntUT2k4MidGame, FntUT2k4ServerList, FntUT2k4SmallHeader, FntUT2k4Small, UT2SmallFont, UT2DefaultFont, UT2HeaderFont, UT2IRCFont, UT2LargeFont, UT2MenuFont, UT2MidGameFont, UT2ServerListFont, UT2SmallHeaderFont
This class in other games:
UE2Runtime, UT2003

Class: UT2K4UI.GUIFont

GUIFont is used to give a single pipeline for handling fonts at multiple resolutions while at the same time supporting resolution independant fonts (for browsers, etc).

Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'Menu'[edit]

bFixedSize[edit]

Type: bool

If true, only FontArray[0] is used

bScaled[edit]

Type: bool

This font is scaled

FallBackRes[edit]

Type: int

If the Resolution is <= this value, it will use the fallback font.

FontArrayFonts[edit]

Type: array<Font>

Holds all of the fonts

FontArrayNames[edit]

Type: array<string>

Modifiers: localized

Holds all of the names of the fonts

KeyName[edit]

Type: string


NormalXRes[edit]

Type: int

If Scaled, this is it's default resolution

Functions[edit]

Static functions[edit]

LoadFontStatic[edit]

static function Font LoadFontStatic (int i)


Native functions[edit]

GetFont[edit]

native event Font GetFont (int XRes)


Other instance functions[edit]

LoadFont[edit]

function Font LoadFont (int i)