5#include <private/qquickspriteengine_p.h>
6#include <private/qquicksprite_p.h>
51 m_systemStates(
false),
52 m_notUsingEngine(
false)
63 for (
int i=0;
i<
e->stateCount();
i++){
64 if (
e->state(
i)->name() == m_goalState){
75 if (m_goalState !=
arg) {
92 if (qobject_cast<QQuickImageParticle*>(
p))
93 engine = qobject_cast<QQuickImageParticle*>(
p)->spriteEngine();
98 m_notUsingEngine =
true;
100 if (!
engine && !m_notUsingEngine)
103 if (m_goalIdx == -2 ||
engine != m_lastEngine)
108 if (m_notUsingEngine){
120#include "moc_qquickspritegoal_p.cpp"
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
QQuickParticleSystem * m_system
QQuickStochasticEngine * stateEngine
QVarLengthArray< QQuickParticleGroupData *, 32 > groupData
QHash< QString, int > groupIds
void moveGroups(QQuickParticleData *d, int newGIdx)
void setGoalState(const QString &arg)
void goalStateChanged(const QString &arg)
bool affectParticle(QQuickParticleData *d, qreal dt) override
QQuickSpriteGoalAffector(QQuickItem *parent=nullptr)
\qmltype SpriteGoal \instantiates QQuickSpriteGoalAffector \inqmlmodule QtQuick.Particles\inherits Af...
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent