C# Class CSharpGL.UIText

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

Private Properties

Property Type Description

Public Methods

Method Description
ToString ( ) : string

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

Protected Methods

Method Description
DoInitialize ( ) : void

DoRender ( RenderEventArgs arg ) : void

Method Details

DoInitialize() protected method

protected DoInitialize ( ) : void
return void

DoRender() protected method

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
return void

ToString() public method

public ToString ( ) : string
return string

UIText() public method

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