3 #include "EditorFramework/Editor.h"
7 class CLodGeneratorDialog
;
12 class CLodGeneratorDialog
: public CDockableEditor
, public IEditorNotifyListener
17 explicit CLodGeneratorDialog(QWidget
*parent
= 0);
18 ~CLodGeneratorDialog();
20 void OnEditorNotifyEvent( EEditorNotifyEvent event
) override
;
23 void UpdateObj_Signal(IStatObj
* pObj
);
24 void UpdateMaterial_Signal(IMaterial
* pMaterial
);
28 bool OnMaterialChange(const QString
& materialPath
);
29 void OnTextureSizeChanged(int nWidth
, int nHeight
);
30 bool OnGenerateMaterial();
31 void OnMaterialGeneratePrepare();
34 void Reset(bool value
);
35 void ClearLodPanels();
36 void GenerateLodPanels();
38 bool LoadMaterialHelper(const QString
& materialPath
);
40 virtual const char* GetEditorName() const override
;
43 Ui::CLodGeneratorDialog
*ui
;