Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3dbakedlightmap.cpp
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
5
7
98{
99 return m_enabled;
100}
101
103{
104 if (m_enabled == enabled)
105 return;
106
107 m_enabled = enabled;
109 emit changed();
110}
111
113{
114 return m_key;
115}
116
118{
119 if (m_key == key)
120 return;
121
122 m_key = key;
124 emit changed();
125}
126
128{
129 return m_loadPrefix;
130}
131
133{
134 if (m_loadPrefix == loadPrefix)
135 return;
136
137 m_loadPrefix = loadPrefix;
139 emit changed();
140}
141
void setKey(const QString &key)
void setLoadPrefix(const QString &loadPrefix)
bool isEnabled() const
\qmltype BakedLightmap \inherits Object \inqmlmodule QtQuick3D
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLuint64 key
GLenum GLenum GLsizei const GLuint GLboolean enabled
#define emit