Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
DebugTextScreenSpace Class Reference
Inheritance diagram for DebugTextScreenSpace:
DebugText DebugText

Private Member Functions

void DebugTextScreenSpace ()
void DebugTextScreenSpace ()
void ~DebugTextScreenSpace ()
void ~DebugTextScreenSpace ()
proto external vector GetPosition ()
proto external vector GetPosition ()
proto external void SetPosition (float x, float y)
proto external void SetPosition (float x, float y)

Static Private Member Functions

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.
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.

Detailed Description

Definition at line 7 of file debugtextscreenspace.c.

Constructor & Destructor Documentation

◆ DebugTextScreenSpace() [1/2]

void DebugTextScreenSpace ( )
private

Referenced by Create().

◆ ~DebugTextScreenSpace() [1/2]

void ~DebugTextScreenSpace ( )
private

◆ DebugTextScreenSpace() [2/2]

void DebugTextScreenSpace ( )
private

◆ ~DebugTextScreenSpace() [2/2]

void ~DebugTextScreenSpace ( )
private

Member Function Documentation

◆ Create() [1/2]

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

Creates a text instance.

Warning
Returned instance should be saved to ref, otherwise it is impossible to remove from screen (unless DebugTextFlags.ONCE is used).
Parameters
textText to draw on screen
flagsDebugTextFlags
xX coordinate of the top left corner of the text
yY coordinate of the top left corner of the text
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.
Returns
DebugText Instance of debug text with given properties set, if flags contains DebugTextFlags.ONCE null is returned

References DebugTextScreenSpace(), x, and y.

Referenced by Debug::DrawTextSS().

◆ Create() [2/2]

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

Creates a text instance.

Warning
Returned instance should be saved to ref, otherwise it is impossible to remove from screen (unless DebugTextFlags.ONCE is used).
Parameters
textText to draw on screen
flagsDebugTextFlags
xX coordinate of the top left corner of the text
yY coordinate of the top left corner of the text
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.
Returns
DebugText Instance of debug text with given properties set, if flags contains DebugTextFlags.ONCE null is returned

◆ GetPosition() [1/2]

proto external vector GetPosition ( )
private

◆ GetPosition() [2/2]

proto external vector GetPosition ( )
private

◆ SetPosition() [1/2]

proto external void SetPosition ( float x,
float y )
private

References x, and y.

◆ SetPosition() [2/2]

proto external void SetPosition ( float x,
float y )
private

The documentation for this class was generated from the following file: