glscene

 

TGLHudText

Page history last edited by skinhat 3 yrs ago

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

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.

Comments (0)

You don't have permission to comment on this page.