4#ifndef PARTICLEAFFECTOR_H
5#define PARTICLEAFFECTOR_H
31 Q_PROPERTY(
QStringList whenCollidingWith READ whenCollidingWith WRITE setWhenCollidingWith NOTIFY whenCollidingWithChanged FINAL)
33 Q_PROPERTY(
bool once READ onceOff WRITE setOnceOff NOTIFY onceChanged FINAL)
38 QML_UNCREATABLE(
"Abstract type. Use one of the inheriting types instead.")
42 virtual void affectSystem(
qreal dt);
71 return m_whenCollidingWith;
93 if (m_system !=
arg) {
96 m_system->registerParticleAffector(
this);
103 if (m_groups !=
arg) {
105 m_updateIntSet =
true;
112 if (m_enabled !=
arg) {
120 if (m_onceOff !=
arg) {
129 if (m_shape !=
arg) {
137 if (m_whenCollidingWith !=
arg) {
138 m_whenCollidingWith =
arg;
143 void updateOffsets();
155 bool activeGroup(
int g);
159 bool isAffectedConnected();
\inmodule QtCore\reentrant
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
void componentComplete() override
\reimp Derived classes should call the base class method before adding their own actions to perform a...
void whenCollidingWithChanged(const QStringList &arg)
void groupsChanged(const QStringList &arg)
void shapeChanged(QQuickParticleExtruder *arg)
QQuickParticleExtruder * shape() const
static const qreal simulationDelta
void onceChanged(bool arg)
void setSystem(QQuickParticleSystem *arg)
void systemChanged(QQuickParticleSystem *arg)
void setOnceOff(bool arg)
void setEnabled(bool arg)
QQuickParticleSystem * m_system
void setWhenCollidingWith(const QStringList &arg)
QStringList groups() const
QSet< QPair< int, int > > m_onceOffed
void setGroups(const QStringList &arg)
QStringList whenCollidingWith() const
void setShape(QQuickParticleExtruder *arg)
QQuickParticleSystem * system() const
static const qreal simulationCutoff
void enabledChanged(bool arg)
void affected(qreal x, qreal y)
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLenum GLenum GLsizei const GLuint GLboolean enabled
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent