Adding some tags to scene item components for the prefab tool

This commit is contained in:
2023-03-26 11:06:57 -07:00
parent f787d06713
commit 6ab9abdeba
16 changed files with 37 additions and 3 deletions

View File

@ -36,7 +36,9 @@ namespace Dawn {
class UIComponent : public SceneItemComponent, public UIComponentDimensional {
protected:
// @optional
float_t width = 1;
// @optional
float_t height = 1;
StateEvent<> eventAlignmentUpdated;

View File

@ -13,9 +13,9 @@ namespace Dawn {
Mesh mesh;
public:
// @optional
struct Color color = COLOR_WHITE;
// StateProperty<float_t> width;
// StateProperty<float_t> height;
// @optional
StateProperty<Texture*> texture;
UIImage(SceneItem *item);