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
qquick3dparticledynamicburst.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
44
53{
54 return m_enabled;
55}
56
74{
75 return m_amountVariation;
76}
77
107
109{
110 if (m_enabled == enabled)
111 return;
112
113 m_enabled = enabled;
115}
116
118{
119 if (m_amountVariation == value)
120 return;
121
122 if (value < 0) {
123 qWarning () << "DynamicBurst3D: Amount variation must be positive.";
124 return;
125 }
126 m_amountVariation = value;
128}
129
131{
132 if (m_triggerMode == mode)
133 return;
134
135 m_triggerMode = mode;
137}
138
\inmodule QtCore
Definition qobject.h:103
QQuick3DParticleDynamicBurst(QObject *parent=nullptr)
\qmltype DynamicBurst3D \inherits EmitBurst3D \inqmlmodule QtQuick3D.Particles3D
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define qWarning
Definition qlogging.h:166
GLenum mode
GLenum GLenum GLsizei const GLuint GLboolean enabled
#define Q_EMIT