Nebula
|
#include <textelement.h>
Describes a text element for the text renderer.
Public Member Functions | |
TextElement () | |
default constructor | |
TextElement (Threading::ThreadId threadId, const Util::String &text, const Math::vec4 &color, const Math::vec2 &pos, const float size) | |
constructor | |
Threading::ThreadId | GetThreadId () const |
get thread id | |
const Util::String & | GetText () const |
get text | |
const Math::vec4 & | GetColor () const |
get color | |
const Math::vec2 & | GetPosition () const |
get position | |
const float | GetSize () const |
get size | |
Private Attributes | |
Threading::ThreadId | threadId |
Util::String | text |
Math::vec4 | color |
Math::vec2 | pos |
float | size |
CoreGraphics::TextElement::TextElement | ( | ) |
default constructor
CoreGraphics::TextElement::TextElement | ( | Threading::ThreadId | threadId, |
const Util::String & | text, | ||
const Math::vec4 & | color, | ||
const Math::vec2 & | pos, | ||
const float | size ) |
constructor
|
inline |
get color
|
inline |
get position
|
inline |
get size
|
inline |
get text
|
inline |
get thread id
|
private |
|
private |
|
private |
|
private |
|
private |