1 | // Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies). |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "assimpimporter.h" |
5 | |
6 | #include <Qt3DRender/private/qsceneimportplugin_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | class AssimpSceneImportPlugin : public Qt3DRender::QSceneImportPlugin |
11 | { |
12 | Q_OBJECT |
13 | Q_PLUGIN_METADATA(IID QSceneImportFactoryInterface_iid FILE "assimp.json") |
14 | |
15 | Qt3DRender::QSceneImporter *create(const QString &key, const QStringList ¶mList) override |
16 | { |
17 | Q_UNUSED(key); |
18 | Q_UNUSED(paramList); |
19 | return new Qt3DRender::AssimpImporter(); |
20 | } |
21 | }; |
22 | |
23 | QT_END_NAMESPACE |
24 | |
25 | #include "main.moc" |
26 |