DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
DebugTextScreenSpace Class Reference

Private Member Functions

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

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

Constructor & Destructor Documentation

◆ DebugTextScreenSpace() [1/2]

private void DebugTextScreenSpace ( )
private

◆ ~DebugTextScreenSpace() [1/2]

void ~DebugTextScreenSpace ( )
private

◆ DebugTextScreenSpace() [2/2]

private void DebugTextScreenSpace ( )
private

◆ ~DebugTextScreenSpace() [2/2]

void ~DebugTextScreenSpace ( )
private

Member Function Documentation

◆ Create() [1/2]

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

Referenced by Debug::DrawTextSS().

◆ Create() [2/2]

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

◆ SetPosition() [2/2]

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

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