SetTextTagText
- Parameters
-
t texttag
The text tag to modify.
s string
The new text.
height real
The new font size.
- comment
Sets the text of a text tag.
- note
The
height
is independent from the camera distance, relative to the screen.- note
Reasonable values for
height
are0.02
to0.1
, but there is a limited space the text can be rendered into. The text will be wrapped (character-wise) and begin a new line, respectively be cut off when the vertical limit is exceeded as well or the character is wider than the whole width of the available area. Thus, with a large enough value forheight
, the text tag won't be visible at all.- patch
1.07
- Source
- common.j
- return type
nothing
- Source code
native SetTextTagText takes texttag t, string s, real height returns nothing