Half done with Scene Component Parsing

This commit is contained in:
2023-03-23 21:43:02 -07:00
parent 3782e731b2
commit 8c50c10be0
19 changed files with 308 additions and 411 deletions

View File

@ -29,11 +29,17 @@ namespace Dawn {
void updateMesh();
public:
//@optional
StateProperty<std::string> text;
// @optional
StateProperty<float_t> fontSize;
/* @optional */
StateProperty<Font*> font;
/* @optional */
StateProperty<float_t> maxWidth;
/* @optional */
struct Color textColor = COLOR_WHITE;
struct FontMeasure measure;
int32_t startQuad = 0;
int32_t quadCount = -1;