aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsgwander.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-07-11 11:20:58 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-20 06:57:44 +0200
commit963e769c01237265a403e2d28c1b2691cb45bf99 (patch)
tree89e874d035fc37348552f6ed8fc05bede181d9c8 /src/declarative/particles/qsgwander.cpp
parent12ebf79f3a92646ae7d5671d8ba4147055d203c2 (diff)
Initial stab at docs for QtQuick.Particles 2.0
Change-Id: I3c53f7998dff95616a994edf19094fa4007d74ab Reviewed-on: http://codereview.qt.nokia.com/1388 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/declarative/particles/qsgwander.cpp')
-rw-r--r--src/declarative/particles/qsgwander.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/declarative/particles/qsgwander.cpp b/src/declarative/particles/qsgwander.cpp
index 70e43a8923..849f2880a6 100644
--- a/src/declarative/particles/qsgwander.cpp
+++ b/src/declarative/particles/qsgwander.cpp
@@ -42,6 +42,14 @@
#include "qsgwander_p.h"
#include "qsgparticlesystem_p.h"//for ParticlesVertices
QT_BEGIN_NAMESPACE
+/*!
+ \qmlclass Wander QSGWanderAffector
+ \inqmlmodule QtQuick.Particles 2
+ \since QtQuick.Particles 2.0
+ \inherits Affector
+ \brief The Wander affector allows particles to randomly vary their trajectory.
+
+*/
QSGWanderAffector::QSGWanderAffector(QSGItem *parent) :
QSGParticleAffector(parent), m_xVariance(0), m_yVariance(0), m_pace(0)