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)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UDK Object >> Font >> MultiFont
Package:
Engine
This class in other games:

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

A font class that stores multiple font pages for different resolutions

Properties

Property group 'MultiFont'

ResolutionTestTable

Type: array<float>

Modifiers: editinline

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

Native functions

GetResolutionTestTableIndex

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.