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 534914ddd2
commit 80778d5a75
16 changed files with 37 additions and 3 deletions

View File

@ -28,16 +28,24 @@ namespace Dawn {
return cam;
}
// @optional
StateProperty<RenderTarget*> renderTarget;
// @optional
StateProperty<float_t> fov;
// @optional
StateProperty<enum CameraType> type;
// @optional
StateProperty<float_t> orthoLeft;
// @optional
StateProperty<float_t> orthoRight;
// @optional
StateProperty<float_t> orthoBottom;
// @optional
StateProperty<float_t> orthoTop;
// @optional
StateProperty<float_t> clipNear;
// @optional
StateProperty<float_t> clipFar;
StateEvent<float_t, float_t> eventRenderTargetResized;

View File

@ -15,6 +15,7 @@ namespace Dawn {
MeshHost *meshHost = nullptr;
public:
// @optional
Mesh * mesh = nullptr;
/**

View File

@ -17,6 +17,7 @@ namespace Dawn {
void updateDimensions();
public:
// @optional
StateProperty<float_t> scale;
/**

View File

@ -15,6 +15,7 @@ namespace Dawn {
std::function<void()> evtResized;
public:
// @optional
StateProperty<RenderTarget*> renderTarget;
/**