|
| 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) |
| |
◆ DebugTextScreenSpace() [1/2]
◆ ~DebugTextScreenSpace() [1/2]
◆ DebugTextScreenSpace() [2/2]
◆ ~DebugTextScreenSpace() [2/2]
◆ Create() [1/2]
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
-
| 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
Referenced by Debug::DrawTextSS().
◆ Create() [2/2]
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
-
| 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
◆ 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: