Documentation Augmentation
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 10 Oct 2011 09:22:24 +0000 (19:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Oct 2011 04:42:53 +0000 (06:42 +0200)
The performance implications of adding an affector should be mentioned.

Change-Id: I0d508b0dfd16a7e9a56bf5f3c7797d1f4dd6a609
Reviewed-on: http://codereview.qt-project.org/6314
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>

src/declarative/particles/qsggravity.cpp

index d775b49..f600726 100644 (file)
@@ -50,7 +50,8 @@ const qreal CONV = 0.017453292520444443;
     \brief The Gravity element allows you to set a constant accleration in an angle
 
     This element will set the acceleration of all affected particles to a vector of
-    the specified magnitude in the specified angle.
+    the specified magnitude in the specified angle. If the angle or acceleration is
+    not varying, it is more efficient to set the specified acceleration on the Emitter.
 
     This element models the gravity of a massive object whose center of
     gravity is far away (and thus the gravitational pull is effectively constant