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

UE3:MultiFont (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Font >> MultiFont
Package: 
Engine
This class in other games:
UT3

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

A font class that stores multiple font pages for different resolutions

Properties[edit]

Property group 'MultiFont'[edit]

ResolutionTestTable[edit]

Type: array<float>

Modifiers: editinline

Holds a list of resolutions that map to a given set of font pages

Native functions[edit]

GetResolutionTestTableIndex[edit]

native function int GetResolutionTestTableIndex (float HeightTest) const

Calulate the index into the ResolutionTestTable which is closest to the specified screen resolution.

Parameters:

  • HeightTest - the height (in pixels) of the viewport being rendered to.

Returns:

the index [into the ResolutionTestTable array] of the resolution which is closest to the specified resolution.