
Public Member Functions | |
| Pt3dBitmapFont () | |
| bool | Init (String textureFileName) |
| void | Clear () |
| void | Print3d (float px, float py, float pz, float size, string text, int charset, bool center, bool billboard) |
| void | Print2d (int px, int py, float size, string text) |
| void | Print2d (int px, int py, float size, string text, int charset) |
| void | Print2d (int px, int py, float size, string text, int screenWidth, int screenHeight) |
| void | Print2d (int px, int py, float size, string text, int charset, int screenWidth, int screenHeight) |
| Powertek.OpenGl.Pt3dBitmapFont.Pt3dBitmapFont | ( | ) |
| void Powertek.OpenGl.Pt3dBitmapFont.Clear | ( | ) |
Clear.
| bool Powertek.OpenGl.Pt3dBitmapFont.Init | ( | String | textureFileName | ) |
Init with Font Texture File.
| textureFileName |
| void Powertek.OpenGl.Pt3dBitmapFont.Print2d | ( | int | px, | |
| int | py, | |||
| float | size, | |||
| string | text, | |||
| int | charset, | |||
| int | screenWidth, | |||
| int | screenHeight | |||
| ) |
Prints the text at the given position.
| px | ||
| py | ||
| size | ||
| text | ||
| charset | ||
| screenWidth | ||
| screenHeight |
| void Powertek.OpenGl.Pt3dBitmapFont.Print2d | ( | int | px, | |
| int | py, | |||
| float | size, | |||
| string | text, | |||
| int | screenWidth, | |||
| int | screenHeight | |||
| ) |
Prints the text at the given position.
| px | ||
| py | ||
| size | ||
| text | ||
| screenWidth | ||
| screenHeight |
| void Powertek.OpenGl.Pt3dBitmapFont.Print2d | ( | int | px, | |
| int | py, | |||
| float | size, | |||
| string | text, | |||
| int | charset | |||
| ) |
Prints the text at the given position.
| px | GL Screen x coordinate | |
| py | GL Screen y coordinate (Top-Down) | |
| size | Size of the text | |
| text | Text to print | |
| charset | 0 or 1 |
| void Powertek.OpenGl.Pt3dBitmapFont.Print2d | ( | int | px, | |
| int | py, | |||
| float | size, | |||
| string | text | |||
| ) |
Print Text on screen.
| px | ||
| py | ||
| size | ||
| text |
| void Powertek.OpenGl.Pt3dBitmapFont.Print3d | ( | float | px, | |
| float | py, | |||
| float | pz, | |||
| float | size, | |||
| string | text, | |||
| int | charset, | |||
| bool | center, | |||
| bool | billboard | |||
| ) |
Print Text 3d.
| px | ||
| py | ||
| pz | ||
| size | ||
| text | ||
| charset | ||
| center | ||
| billboard |
1.5.7.1