aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsggravity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/particles/qsggravity.cpp')
-rw-r--r--src/declarative/particles/qsggravity.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/declarative/particles/qsggravity.cpp b/src/declarative/particles/qsggravity.cpp
index 1de2a0e014..d775b49d6f 100644
--- a/src/declarative/particles/qsggravity.cpp
+++ b/src/declarative/particles/qsggravity.cpp
@@ -51,14 +51,22 @@ const qreal CONV = 0.017453292520444443;
This element will set the acceleration of all affected particles to a vector of
the specified magnitude in the specified angle.
+
+ This element models the gravity of a massive object whose center of
+ gravity is far away (and thus the gravitational pull is effectively constant
+ across the scene). To model the gravity of an object near or inside the scene,
+ use PointAttractor.
*/
/*!
\qmlproperty real QtQuick.Particles2::Gravity::acceleration
+ Pixels per second that objects will be accelerated by.
*/
/*!
\qmlproperty real QtQuick.Particles2::Gravity::angle
+
+ Angle of acceleration.
*/
QSGGravityAffector::QSGGravityAffector(QSGItem *parent) :