DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Create() [2/2]

static proto DebugTextWorldSpace DebugTextWorldSpace::Create ( string text,
DebugTextFlags flags,
float x,
float y,
float z,
float size = 20.0,
int color = 0xFFFFFFFF,
int bgColor = 0x00000000,
int priority = 1000 )
staticprivate

Creates a text instance.

Предупреждения
Returned instance should be saved to ref, otherwise it is impossible to remove from screen (unless DebugTextFlags.ONCE is used).
Аргументы
textText to draw on screen
flagsDebugTextFlags
xX coordinate of the top left corner of the text in world space
yY coordinate of the top left corner of the text in world space
zZ coordinate of the top left corner of the text in world space
sizeSize of the font in pixels
colorColor of the text
bgColorColor of the back background behind the text
priorityZ order priority. Note: texts with background are always rendered under texts without background.
Возвращает
DebugText Instance of debug text with given properties set, if flags contains DebugTextFlags.ONCE null is returned