class DebugTextScreenSpaceSource
DebugTextScreenSpace › DebugText › Managed
All members, including inherited
Constructors 2
private void DebugTextScreenSpace()void ~DebugTextScreenSpace()Methods 3
proto external vector GetPosition()static proto DebugTextScreenSpace Create(string text, DebugTextFlags flags, float x, float y, float size = 20.0, int color = 0xFFFFFFFF, int bgColor = 0x00000000, int priority = 1000)Creates a text instance.
text- Text to draw on screen
flags- DebugTextFlags
x- X coordinate of the top left corner of the text
y- Y coordinate of the top left corner of the text
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.
Returns: DebugText Instance of debug text with given properties set, if flags contains DebugTextFlags.ONCE null is returned
WarningReturned instance should be saved to `ref`, otherwise it is impossible to remove from screen (unless DebugTextFlags.ONCE is used).
Referenced by Debug.DrawTextSS()