There is no spoon

UE3:MultiFont (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:42, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 3))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.