C# Class CSharpGL.UIText

使用Default字体在一块区域渲染文字。 UIText is a simple label similar to System.Windows.Forms.Label.
Inheritance: UIRenderer
Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ToString ( ) : string

UIText ( System anchor, System margin, System size, int zNear, int zFar, IFontTexture fontTexture = null, int maxCharCount = 100 )

Méthodes protégées

Méthode Description
DoInitialize ( ) : void

DoRender ( RenderEventArgs arg ) : void

Method Details

DoInitialize() protected méthode

protected DoInitialize ( ) : void
Résultat void

DoRender() protected méthode

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UIText() public méthode

public UIText ( System anchor, System margin, System size, int zNear, int zFar, IFontTexture fontTexture = null, int maxCharCount = 100 )
anchor System
margin System
size System
zNear int
zFar int
fontTexture IFontTexture
maxCharCount int