OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLHUDText

image

Displays text on the screen using 2D screen coordinates. 3D direction and position arent used with hudtext. Use TGLFlatText to display text in 3D.

image

Important TGLHudText properties:
text The text string you want to display on the screen

bitmapfont TGLCustomBitmapFont
Defines the bitmap font manager. Allows you to specify the font you wish to display

position TGLCoordinates
The position of the text on the screen in x,y coordinates. The z coordinates is ignored

layout TGLTextLayout
Whether or not the position vector specifies the centre of the text, the top of the text or is the position is at the bottom of the text.


Demo: CVS/Demos/interface/bmpfont

Unit: GLHUDObjects

Descends from TGLImmaterialSceneObject.

  Attachment Size Date Added
    
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.6101 seconds