This is going to be used in the future "asset pipeline" tool. The auto export animations and materials flags are also turned off in "no ui" mode.
21 lines
429 B
C++
Executable file
21 lines
429 B
C++
Executable file
#pragma once
|
|
|
|
#include "commoneditor.hpp"
|
|
|
|
class ModelEditor : public CommonEditor {
|
|
public:
|
|
ModelEditor();
|
|
|
|
void drawUI() override;
|
|
|
|
struct Flags {
|
|
bool hide_ui = false;
|
|
bool compile_static = false;
|
|
bool export_animations = true;
|
|
bool export_materials = true;
|
|
} flags;
|
|
|
|
std::string data_path, model_path;
|
|
|
|
void compile_model(std::string compiled_model_path);
|
|
};
|