29class ModelViewerWidget;
45 void SetModel(
const std::string &modelName);
48 void Start()
override;
49 void Update(
float deltaTime)
override;
56 void UpdateModelList();
57 void UpdateDecalList();
67 void CreateTestResources();
69 void ResetThrusters();
71 void SaveModelToBinary();
73 void SetupLayout(
ImGuiID dockspaceID);
74 void DrawModelSelector();
77 void DrawModelHierarchy();
78 void DrawShipControls();
88 std::vector<std::string> m_log;
89 bool m_resetLogScroll =
false;
94 std::unique_ptr<ModelViewerWidget> m_modelWindow;
96 std::vector<std::string> m_fileNames;
97 std::string m_modelName;
98 std::string m_requestedModelName;
102 bool m_modelSupportsDecals =
false;
103 std::vector<std::string> m_decals;
104 uint32_t m_currentDecal = 0;
107 bool m_modelIsShip =
false;
108 bool m_modelHasShields =
false;
110 std::unique_ptr<Shields> m_shields;
111 std::unique_ptr<SceneGraph::Model> m_gunModel;
113 bool m_screenshotQueued =
false;
114 bool m_shieldIsHit =
false;
115 float m_shieldHitPan;
117 bool m_attachGuns =
false;
118 bool m_showShields =
false;
119 bool m_showUI =
true;
120 bool m_metricsWindow =
false;
unsigned int ImGuiID
Definition: Modal.h:9
Definition: Application.h:21
Definition: EditorApp.h:20
Definition: ModelViewer.h:31
void SetModel(const std::string &modelName)
Definition: ModelViewer.cpp:365
CameraPreset
Definition: ModelViewer.h:33
void HandleInput()
Definition: ModelViewer.cpp:229
~ModelViewer()
Definition: ModelViewer.cpp:54
void End() override
Definition: ModelViewer.cpp:71
void Start() override
Definition: ModelViewer.cpp:58
void Update(float deltaTime) override
Definition: ModelViewer.cpp:207
Definition: Renderer.h:45
Definition: Texture.h:103
Definition: LuaManager.h:9
Definition: DateTime.h:84
Definition: ActionBinder.h:14
Severity
Definition: Log.h:13
Definition: GuiApplication.h:18
Definition: CityOnPlanet.h:32