I'm a doctor, not a mechanic

UE3:MultiFont (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:12, 17 January 2010 by (Talk)

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

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.