1 | // Copyright (C) 2020 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QSSGSKELETON_H |
5 | #define QSSGSKELETON_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 | |
22 | class Q_QUICK3D_EXPORT QQuick3DSkeleton : public QQuick3DNode |
23 | { |
24 | Q_OBJECT |
25 | |
26 | QML_NAMED_ELEMENT(Skeleton) |
27 | |
28 | public: |
29 | explicit QQuick3DSkeleton(QQuick3DNode *parent = nullptr); |
30 | ~QQuick3DSkeleton() override; |
31 | |
32 | public Q_SLOTS: |
33 | |
34 | Q_SIGNALS: |
35 | void skeletonNodeDirty(); |
36 | |
37 | private: |
38 | QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override; |
39 | }; |
40 | |
41 | QT_END_NAMESPACE |
42 | |
43 | #endif // QSSGSKELETON_H |
44 | |