Parameters |
Description |
float x |
x offset from top left of the screen |
float y |
y offset from top left of the screen |
float fontSize |
font size, 0 for default value of 1.5 |
const char* text |
text to be drawn |
int r |
red <0,255> |
int g |
green <0,255> |
int b |
blue <0,255> |
float a |
0-1, 1 is visible |
Syntax: Game.DebugDrawText(float x, float y, float fontSize, const char* text, int r, int g, int b, float a)
Draws texts on screen, needs to be called in OnUpdate function.
Copyright (c) 2012. All rights reserved.
|