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_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
4
#ifndef QQUICK3DPARTICLEDYNAMICBURST_H
5
#define QQUICK3DPARTICLEDYNAMICBURST_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 <QtQuick3DParticles/private/qquick3dparticleemitburst_p.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
Q_QUICK3DPARTICLES_EXPORT
QQuick3DParticleDynamicBurst
:
public
QQuick3DParticleEmitBurst
23
{
24
Q_OBJECT
25
Q_PROPERTY
(
bool
enabled
READ
enabled
WRITE setEnabled NOTIFY enabledChanged)
26
Q_PROPERTY
(
int
amountVariation READ amountVariation WRITE setAmountVariation NOTIFY amountVariationChanged)
27
Q_PROPERTY
(
TriggerMode
triggerMode READ triggerMode WRITE setTriggerMode NOTIFY triggerModeChanged)
28
QML_NAMED_ELEMENT
(DynamicBurst3D)
29
QML_ADDED_IN_VERSION
(6, 3)
30
31
public:
32
enum
TriggerMode
33
{
34
TriggerTime = 0,
35
TriggerStart
,
36
TriggerEnd
37
};
38
Q_ENUM
(TriggerMode)
39
40
explicit
QQuick3DParticleDynamicBurst
(
QObject
*parent =
nullptr
);
41
bool
enabled
()
const
;
42
int
amountVariation()
const
;
43
TriggerMode triggerMode()
const
;
44
45
public
Q_SLOTS
:
46
void
setEnabled(
bool
enabled
);
47
void
setAmountVariation(
int
value
);
48
void
setTriggerMode(TriggerMode
mode
);
49
50
Q_SIGNALS
:
51
void
enabledChanged
();
52
void
amountVariationChanged
();
53
void
triggerModeChanged
();
54
55
private
:
56
friend
class
QQuick3DParticleEmitter
;
57
58
bool
m_enabled =
true
;
59
int
m_amountVariation = 0;
60
TriggerMode
m_triggerMode = TriggerMode::TriggerTime;
61
};
62
63
QT_END_NAMESPACE
64
65
#endif
// QQUICK3DPARTICLEDYNAMICBURST_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QQuick3DParticleDynamicBurst
Definition
qquick3dparticledynamicburst_p.h:23
QQuick3DParticleDynamicBurst::triggerModeChanged
void triggerModeChanged()
QQuick3DParticleDynamicBurst::enabledChanged
void enabledChanged()
QQuick3DParticleDynamicBurst::amountVariationChanged
void amountVariationChanged()
QQuick3DParticleDynamicBurst::TriggerMode
TriggerMode
Definition
qquick3dparticledynamicburst_p.h:33
QQuick3DParticleDynamicBurst::TriggerStart
@ TriggerStart
Definition
qquick3dparticledynamicburst_p.h:35
QQuick3DParticleEmitBurst
Definition
qquick3dparticleemitburst_p.h:29
QQuick3DParticleEmitter
Definition
qquick3dparticleemitter_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
value
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Definition
qeglstreamconvenience_p.h:46
mode
GLenum mode
Definition
qopengles2ext.h:333
enabled
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition
qopengles2ext.h:150
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:60
QML_ADDED_IN_VERSION
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
Definition
qqmlintegration.h:100
Q_ENUM
#define Q_ENUM(x)
Definition
qtmetamacros.h:68
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
enabled
#define enabled
Definition
qopenglext.h:3098
qtquick3d
src
quick3dparticles
qquick3dparticledynamicburst_p.h
Generated by
1.10.0