#include <entity.hpp>
|
| | TextComponent () |
| |
| | TextComponent (uint32_t uid) |
| |
| | TextComponent (std::shared_ptr< TextRenderer > textRenderer, const std::string &text, Vec2 offset, Vec3 color, float scale, uint32_t uid) |
| |
| | TextComponent (const std::string &path, float glyph_size, bool fixed, uint32_t uid) |
| |
| | TextComponent (const std::string &path, float glyph_size, bool fixed, const std::string &text, Vec2 offset, Vec3 color, float scale, int layer, bool ignore_lighting, uint32_t uid) |
| |
| | TextComponent (const TextComponent &other) |
| |
| | TextComponent (TextComponent &&other) |
| |
| TextComponent & | operator= (const TextComponent &other) |
| |
| TextComponent & | operator= (TextComponent &&other) |
| |
| void | SetCentered (float width, float height) |
| |
Definition at line 291 of file entity.hpp.
◆ TextComponent() [1/7]
| TextComponent::TextComponent |
( |
| ) |
|
|
inline |
◆ TextComponent() [2/7]
| TextComponent::TextComponent |
( |
uint32_t | uid | ) |
|
|
inline |
◆ TextComponent() [3/7]
| TextComponent::TextComponent |
( |
std::shared_ptr< TextRenderer > | textRenderer, |
|
|
const std::string & | text, |
|
|
Vec2 | offset, |
|
|
Vec3 | color, |
|
|
float | scale, |
|
|
uint32_t | uid ) |
|
inline |
◆ TextComponent() [4/7]
| TextComponent::TextComponent |
( |
const std::string & | path, |
|
|
float | glyph_size, |
|
|
bool | fixed, |
|
|
uint32_t | uid ) |
|
inline |
◆ TextComponent() [5/7]
| TextComponent::TextComponent |
( |
const std::string & | path, |
|
|
float | glyph_size, |
|
|
bool | fixed, |
|
|
const std::string & | text, |
|
|
Vec2 | offset, |
|
|
Vec3 | color, |
|
|
float | scale, |
|
|
int | layer, |
|
|
bool | ignore_lighting, |
|
|
uint32_t | uid ) |
|
inline |
◆ TextComponent() [6/7]
◆ TextComponent() [7/7]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetCentered()
| void TextComponent::SetCentered |
( |
float | width, |
|
|
float | height ) |
◆ m_Color
| Vec3 TextComponent::m_Color |
◆ m_IgnoreLighting
| bool TextComponent::m_IgnoreLighting |
◆ m_Layer
| int TextComponent::m_Layer |
◆ m_Offset
| Vec2 TextComponent::m_Offset |
◆ m_Scale
| float TextComponent::m_Scale |
◆ m_Text
| std::string TextComponent::m_Text |
◆ m_TextRenderer
◆ m_UID
| uint32_t TextComponent::m_UID |
The documentation for this class was generated from the following files: