1 | // Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB). |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QT3DEXTRAS_QSKYBOXENTITY_H |
5 | #define |
6 | |
7 | #include <Qt3DCore/qentity.h> |
8 | #include <Qt3DExtras/qt3dextras_global.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | namespace Qt3DExtras { |
13 | |
14 | class ; |
15 | |
16 | class Q_3DEXTRASSHARED_EXPORT : public Qt3DCore::QEntity |
17 | { |
18 | Q_OBJECT |
19 | Q_PROPERTY(QString baseName READ baseName WRITE setBaseName NOTIFY baseNameChanged) |
20 | Q_PROPERTY(QString extension READ extension WRITE setExtension NOTIFY extensionChanged) |
21 | Q_PROPERTY(bool gammaCorrect READ isGammaCorrectEnabled WRITE setGammaCorrectEnabled NOTIFY gammaCorrectEnabledChanged REVISION 9) |
22 | public: |
23 | explicit (Qt3DCore::QNode *parent = nullptr); |
24 | (); |
25 | |
26 | QString () const; |
27 | QString () const; |
28 | bool () const; |
29 | |
30 | public Q_SLOTS: |
31 | void (const QString &path); |
32 | void (const QString &extension); |
33 | void (bool enabled); |
34 | |
35 | Q_SIGNALS: |
36 | void (const QString &path); |
37 | void (const QString &extension); |
38 | void (bool enabled); |
39 | |
40 | private: |
41 | Q_DECLARE_PRIVATE(QSkyboxEntity) |
42 | }; |
43 | |
44 | } // namespace Qt3DExtras |
45 | |
46 | QT_END_NAMESPACE |
47 | |
48 | #endif // QT3DEXTRAS_QSKYBOXENTITY_H |
49 | |