QML ParticleMotionWander ElementThe ParticleMotionWander object moves particles in a somewhat random fashion. More... This element was introduced in Qt 4.7. PropertiesDetailed DescriptionThe particles will continue roughly in the original direction, however will randomly drift to each side. The code below produces an effect similar to falling snow. Rectangle { width: 240 height: 320 color: "black" Particles { y: 0 width: parent.width height: 30 source: "star.png" lifeSpan: 5000 count: 50 angle: 70 angleDeviation: 36 velocity: 30 velocityDeviation: 10 ParticleMotionWander { xvariance: 30 pace: 100 } } } See also Particles. Property DocumentationThis property holds how quickly the paricles will move from side to side. These properties set the amount to wander in the x and y directions. © 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia. Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. |