Particles in Qt Quick aregraphical elements such as images, QML items, and OpenGL shaders.
They can be made to move and flow in endless ways.
Every particle is part of a ParticleGroup
, which, by default, has an empty name. A ParticleGroup
is a group of particle painters that allow for the timed animation transitions for the grouped particle painters.
The direction that particles are emitted is controlled by the Direction
items which consist of these components: AngleDirection
, PointDirection
, and TargetDirection
.
There are only a few types of particle painters you can use, but they cover just about everything you would want to use them for. Particle types available in Qt Quick are as follows:
CustomParticle
: A particle based on OpenGL shaderImageParticle
: A particle based on an image fileItemParticle
: A particle based on a QML Item
ImageParticle
is probably the most common and easiest to use and can be made from any image that QML has support for. If...