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
20QT_BEGIN_NAMESPACE
21class QQuick3DViewport;
22
23class QQuick3DSceneRootNode : public QQuick3DNode
24{
25 Q_OBJECT
26public:
27 explicit QQuick3DSceneRootNode(QQuick3DViewport *view3D = nullptr, QQuick3DNode *parent = nullptr);
28 ~QQuick3DSceneRootNode() override;
29
30 QQuick3DViewport *view3D();
31
32private:
33 QQuick3DViewport *m_view3D = nullptr;
34};
35
36QT_END_NAMESPACE
37
38QML_DECLARE_TYPE(QQuick3DSceneRootNode)
39
40#endif // QQUICK3DSCENEROOTNODE_P_H
41

source code of qtquick3d/src/quick3d/qquick3dscenerootnode_p.h