|
staticprivate |
Creates a text instance.
ref, otherwise it is impossible to remove from screen (unless DebugTextFlags.ONCE is used). | text | Text to draw on screen |
| flags | DebugTextFlags |
| x | X coordinate of the top left corner of the text in world space |
| y | Y coordinate of the top left corner of the text in world space |
| z | Z coordinate of the top left corner of the text in world space |
| size | Size of the font in pixels |
| color | Color of the text |
| bgColor | Color of the back background behind the text |
| priority | Z order priority. Note: texts with background are always rendered under texts without background. |