Public Member Functions | |
| vtTextMesh (vtFont *font, float fSize=1, bool bCenter=false) | |
| void | Release () |
| Use this method instead of delete, when you are done with this object. | |
| void | SetText (const char *text) |
| Set the text string that this TextMesh should display. | |
| void | SetText (const wchar_t *text) |
| Set the (wide) text string that this TextMesh should display. | |
| void | SetText (const std::wstring &text) |
| Set the (wide) text string that this TextMesh should display. | |
| void | SetPosition (const FPoint3 &pos) |
| Set the position (XYZ translation) of the text in its own frame. | |
| void | SetRotation (const FQuat &rot) |
| Set the rotation (Quaternion) of the text in its own frame. | |
| void | SetAlignment (int align) |
| Set the text alignment: 0 for XY plane, 1 for XZ, 2 for YZ. | |
| void | SetColor (const RGBAf &rgba) |
| Set the color. | |
|
||||||||||||||||
|
Construct a TextMesh object.
|
1.4.5