Polycode
|
3D text label. More...
Inherits Polycode::ScenePrimitive.
Public Member Functions | |
SceneLabel (const String &fontName, const String &text, int size, Number scale, int amode) | |
Constructor. | |
void | setText (const String &newText) |
Sets new text for the labe. |
3D text label.
Creates a 3D text label.
SceneLabel::SceneLabel | ( | const String & | fontName, |
const String & | text, | ||
int | size, | ||
Number | scale, | ||
int | amode | ||
) |
Constructor.
fontName | Name of a registered font to use. |
text | Text to display. |
size | Size in pixels. |
scale | Scale to multiply pixel size by for the actual world size of the label. |
Anti-aliasing | mode. Can be Label::ANTIALIAS_FULL or Label::ANTIALIAS_NONE. |
void SceneLabel::setText | ( | const String & | newText | ) |
Sets new text for the labe.
newText | New text to display. |