The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

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

Property group 'Menu'

bFixedSize

Type: bool

If true, only FontArray[0] is used

bScaled

Type: bool

This font is scaled

FallBackRes

Type: int

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

FontArrayFonts

Type: array<Font>

Holds all of the fonts

FontArrayNames

Type: array<string>

Modifiers: localized

Holds all of the names of the fonts

KeyName

Type: string


NormalXRes

Type: int

If Scaled, this is it's default resolution

Functions

Static functions

LoadFontStatic

static function Font LoadFontStatic (int i)


Native functions

GetFont

native event Font GetFont (int XRes)


Other instance functions

LoadFont

function Font LoadFont (int i)