UE3:MultiFont (UDK): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
No edit summary
 
m 1 revision: class descriptions for UDK January update (part 3)
 
Line 1: Line 1:
{{infobox class
{{UE3:MultiFont (UT3)}}
| package = Engine
| parent1 = Font
| parent2 = Object
}}
{{autogenerated}}
A font class that stores multiple font pages for different resolutions
 
==Properties==
===Property group 'MultiFont'===
====ResolutionTestTable====
'''Type:''' [[array]]<[[float]]>
 
'''[[Variables#Modifiers|Modifiers]]:''' editinline
 
Holds a list of resolutions that map to a given set of font pages
 
==Native functions==
====GetResolutionTestTableIndex====
{{code|native function [[int]]&nbsp;'''GetResolutionTestTableIndex''' ([[float]]&nbsp;'''HeightTest''') const}}
 
<!-- enter function description -->

Latest revision as of 05:42, 17 January 2010

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.