GLBasic User Manual

Main sections

X_PRINT

X_PRINT text#$, x#, y#, z#, scale#, kerning%=FALSE



Writes the text text#$ to a 3D scene. Parts of the text behind 3D objects will be hidden.
scale# is used to zoom the text size. If you set scale# to 0, the original text height will be used and as such the text will not be smaller when further away.
The insertion point is the bottom center (as in X_SPRITE).
With the parameter kerning% you control if you want to take care of variable character widths.

See also...