Adding some tags to scene item components for the prefab tool
This commit is contained in:
@ -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;
|
||||
|
@ -15,6 +15,7 @@ namespace Dawn {
|
||||
MeshHost *meshHost = nullptr;
|
||||
|
||||
public:
|
||||
// @optional
|
||||
Mesh * mesh = nullptr;
|
||||
|
||||
/**
|
||||
|
@ -17,6 +17,7 @@ namespace Dawn {
|
||||
void updateDimensions();
|
||||
|
||||
public:
|
||||
// @optional
|
||||
StateProperty<float_t> scale;
|
||||
|
||||
/**
|
||||
|
@ -15,6 +15,7 @@ namespace Dawn {
|
||||
std::function<void()> evtResized;
|
||||
|
||||
public:
|
||||
// @optional
|
||||
StateProperty<RenderTarget*> renderTarget;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user