Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquick3dscenerootnode_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#ifndef QQUICK3DSCENEROOTNODE_P_H
7#define QQUICK3DSCENEROOTNODE_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtQuick3D/private/qquick3dnode_p.h>
21
22QT_BEGIN_NAMESPACE
23class QQuick3DViewport;
24
26{
28public:
29 explicit QQuick3DSceneRootNode(QQuick3DViewport *view3D = nullptr, QQuick3DNode *parent = nullptr);
31
32 QQuick3DViewport *view3D();
33
34private:
35 QQuick3DViewport *m_view3D = nullptr;
36
37protected:
38 virtual QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) final;
39};
40
41QT_END_NAMESPACE
42
43QML_DECLARE_TYPE(QQuick3DSceneRootNode)
44
45#endif // QQUICK3DSCENEROOTNODE_P_H
QQuick3DViewport * view3D()
virtual QSSGRenderGraphObject * updateSpatialNode(QSSGRenderGraphObject *node) final