#include <SpriteString.h>
◆ Glyph
◆ SpriteString() [1/3]
SpriteString::SpriteString |
( |
| ) |
|
|
delete |
◆ SpriteString() [2/3]
SpriteString::SpriteString |
( |
std::string |
text, |
|
|
SpriteFont * |
font |
|
) |
| |
◆ SpriteString() [3/3]
◆ ~SpriteString()
SpriteString::~SpriteString |
( |
| ) |
|
◆ operator=()
◆ privRebuild()
void SpriteString::privRebuild |
( |
| ) |
|
|
private |
◆ Render()
void SpriteString::Render |
( |
| ) |
|
Renders this SpriteString to the default UI camera.
Haru, 3/19/2023.
◆ SetPos()
void SpriteString::SetPos |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
Sets the position of the SpriteString.
Haru, 3/19/2023.
- Parameters
-
x | The x coordinate. |
y | The y coordinate. |
◆ SetRelScale()
void SpriteString::SetRelScale |
( |
float |
w, |
|
|
float |
h |
|
) |
| |
Sets the relative scale of the SpriteString.
Haru, 3/19/2023.
- Parameters
-
◆ SetText()
void SpriteString::SetText |
( |
std::string |
text | ) |
|
Sets the string to be displayed.
Haru, 3/19/2023.
- Parameters
-
◆ m_glyphs
Glyph** SpriteString::m_glyphs |
|
private |
◆ m_len
◆ m_newLineCount
int SpriteString::m_newLineCount |
|
private |
◆ m_origScrH
float SpriteString::m_origScrH |
|
private |
◆ m_origScrW
float SpriteString::m_origScrW |
|
private |
◆ m_relH
float SpriteString::m_relH |
|
private |
◆ m_relW
float SpriteString::m_relW |
|
private |
◆ m_scrFixedX
float SpriteString::m_scrFixedX |
|
private |
◆ m_scrFixedY
float SpriteString::m_scrFixedY |
|
private |
◆ m_text
std::string SpriteString::m_text |
|
private |
◆ m_x
◆ m_y
◆ p_font
The documentation for this class was generated from the following files: