Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquick3dbakedlightmap_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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
QQUICK3DBAKEDLIGHTMAP_P_H
7
#
define
QQUICK3DBAKEDLIGHTMAP_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
22
QT_BEGIN_NAMESPACE
23
24
class
Q_QUICK3D_EXPORT
QQuick3DBakedLightmap
:
public
QObject
25
{
26
Q_OBJECT
27
Q_PROPERTY(
bool
enabled READ isEnabled WRITE setEnabled NOTIFY enabledChanged)
28
Q_PROPERTY(QString key READ key WRITE setKey NOTIFY keyChanged)
29
Q_PROPERTY(QString loadPrefix READ loadPrefix WRITE setLoadPrefix NOTIFY loadPrefixChanged)
30
31
QML_NAMED_ELEMENT(BakedLightmap)
32
33
public
:
34
bool
isEnabled()
const
;
35
QString key()
const
;
36
QString loadPrefix()
const
;
37
38
public
Q_SLOTS:
39
void
setEnabled(
bool
enabled);
40
void
setKey(
const
QString &key);
41
void
setLoadPrefix(
const
QString &loadPrefix);
42
43
Q_SIGNALS:
44
void
changed();
45
void
enabledChanged();
46
void
keyChanged();
47
void
loadPrefixChanged();
48
49
private
:
50
bool
m_enabled =
true
;
51
QString m_key;
52
QString m_loadPrefix;
53
};
54
55
QT_END_NAMESPACE
56
57
#
endif
// QQUICK3DBAKEDLIGHTMAP_P_H
QQuick3DBakedLightmap
Definition
qquick3dbakedlightmap_p.h:25
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtquick3d
src
quick3d
qquick3dbakedlightmap_p.h
Generated on
for Qt by
1.18.0