C# 클래스 UnityEngine.Font

Script interface for.

상속: UnityEngine.Object
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Font System
GetCharacterInfo bool
GetCharacterInfo bool
GetCharacterInfo bool
GetOSInstalledFontNames string[]
HasCharacter bool
Internal_CreateDynamicFont void
Internal_CreateFont void
InvokeTextureRebuilt_Internal void
RequestCharactersInTexture void
RequestCharactersInTexture void
RequestCharactersInTexture void

공개 메소드들

메소드 설명
CreateDynamicFontFromOSFont ( string fontname, int size ) : Font

Creates a Font object which lets you render a font installed on the user machine.

Font ( ) : System

Create a new Font.

Font ( string name ) : System

Create a new Font.

GetMaxVertsForString ( string str ) : int

Returns the maximum number of verts that the text generator may return for a given string.

비공개 메소드들

메소드 설명
Font ( string names, int size ) : System
GetCharacterInfo ( char ch, CharacterInfo &info ) : bool
GetCharacterInfo ( char ch, CharacterInfo &info, [ size, [ style ) : bool
GetCharacterInfo ( char ch, CharacterInfo &info, int size ) : bool
GetOSInstalledFontNames ( ) : string[]
HasCharacter ( char c ) : bool
Internal_CreateDynamicFont ( [ _font, string _names, int size ) : void
Internal_CreateFont ( [ _font, string name ) : void
InvokeTextureRebuilt_Internal ( Font font ) : void
RequestCharactersInTexture ( string characters ) : void
RequestCharactersInTexture ( string characters, [ size, [ style ) : void
RequestCharactersInTexture ( string characters, int size ) : void

메소드 상세

CreateDynamicFontFromOSFont() 공개 정적인 메소드

Creates a Font object which lets you render a font installed on the user machine.

public static CreateDynamicFontFromOSFont ( string fontname, int size ) : Font
fontname string The name of the OS font to use for this font object.
size int The default character size of the generated font.
리턴 Font

Font() 공개 메소드

Create a new Font.

public Font ( ) : System
리턴 System

Font() 공개 메소드

Create a new Font.

public Font ( string name ) : System
name string The name of the created Font object.
리턴 System

GetMaxVertsForString() 공개 정적인 메소드

Returns the maximum number of verts that the text generator may return for a given string.

public static GetMaxVertsForString ( string str ) : int
str string Input string.
리턴 int