Adding some tags to scene item components for the prefab tool
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user