1 | // Copyright (C) 2019 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include "qquick3dscenerootnode_p.h" |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | |
8 | QQuick3DSceneRootNode::QQuick3DSceneRootNode(QQuick3DViewport *view3D, QQuick3DNode *parent) |
9 | : QQuick3DNode(parent) |
10 | , m_view3D(view3D) |
11 | { |
12 | } |
13 | |
14 | QQuick3DSceneRootNode::~QQuick3DSceneRootNode() |
15 | { |
16 | } |
17 | |
18 | |
19 | QQuick3DViewport *QQuick3DSceneRootNode::view3D() |
20 | { |
21 | return m_view3D; |
22 | } |
23 | |
24 | QT_END_NAMESPACE |
25 |