1 | // Copyright (C) 2019 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QQUICK3DSCENEROOTNODE_P_H |
5 | #define QQUICK3DSCENEROOTNODE_P_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is not part of the Qt API. It exists purely as an |
12 | // implementation detail. This header file may change from version to |
13 | // version without notice, or even be removed. |
14 | // |
15 | // We mean it. |
16 | // |
17 | |
18 | #include <QtQuick3D/private/qquick3dnode_p.h> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | class QQuick3DViewport; |
22 | |
23 | class QQuick3DSceneRootNode : public QQuick3DNode |
24 | { |
25 | Q_OBJECT |
26 | public: |
27 | explicit QQuick3DSceneRootNode(QQuick3DViewport *view3D = nullptr, QQuick3DNode *parent = nullptr); |
28 | ~QQuick3DSceneRootNode() override; |
29 | |
30 | QQuick3DViewport *view3D(); |
31 | |
32 | private: |
33 | QQuick3DViewport *m_view3D = nullptr; |
34 | }; |
35 | |
36 | QT_END_NAMESPACE |
37 | |
38 | QML_DECLARE_TYPE(QQuick3DSceneRootNode) |
39 | |
40 | #endif // QQUICK3DSCENEROOTNODE_P_H |
41 | |