12 #ifndef hifi_ModelPackager_h
13 #define hifi_ModelPackager_h
20 #include "ui/ModelsBrowser.h"
26 class ModelPackager :
public QObject {
28 static bool package();
34 bool editProperties();
37 void populateBasicMapping(QVariantHash& mapping, QString filename,
const hfm::Model& hfmModel);
40 bool copyTextures(
const QString& oldDir,
const QDir& newDir);
47 QMultiHash<QString, QVariant> _mapping;
48 std::shared_ptr<hfm::Model> _hfmModel;
49 QStringList _textures;
A generic 3D model displaying geometry loaded from a URL.
Definition: Model.h:84
The runtime model format.
Definition: HFM.h:302