Qt 4.8
|
The Particles object generates and moves particles. More...
The Particles object generates and moves particles.
Particles are available in the <b>Qt.labs.particles 1.0</b> module. \e {Elements in the Qt.labs module are not guaranteed to remain compatible in future versions.} This element provides preliminary support for particles in QML, and may be heavily changed or removed in later versions. The particles created by this object cannot be dealt with directly, they can only be controlled through the parameters of the Particles object. The particles are all the same pixmap, specified by the user. The particles are painted relative to the parent of the Particles object. Moving the Particles object will not move the particles already emitted. The below example creates two differently behaving particle sources. The top one has particles falling from the top like snow, the lower one has particles expelled up like a fountain.