此 QML 模块包含 Qt Quick 粒子系统。要使用这些类型,采用以下行 import 模块:
import QtQuick.Particles
有关如何使用系统的简单概述,见 使用 Qt Quick 粒子系统 .
有关性能特色的详细信息,见 Qt Quick 粒子系统性能 .
| Affector | Applies alterations to the attributes of logical particles at any point in their lifetime |
| Age | For altering particle ages |
| AngleDirection | For specifying a direction that varies in angle |
| Attractor | For attracting particles towards a specific point |
| CumulativeDirection | For specifying a direction made of other directions |
| Direction | For specifying a vector space |
| EllipseShape | Represents an ellipse to other particle system elements |
| Emitter | 发射逻辑粒子 |
| Friction | For applying friction proportional to the particle's current velocity |
| Gravity | For applying acceleration in an angle |
| GroupGoal | For changing the state of a group of a particle |
| ImageParticle | For visualizing logical particles using an image |
| ItemParticle | For specifying a delegate to paint particles |
| LineShape | Represents a line for affectors and emitters |
| MaskShape | For representing an image as a shape to affectors and emitters |
| Particle | Represents particles manipulated by emitters and affectors |
| ParticleExtruder | For specifying an area for affectors and emitters |
| ParticleGroup | For setting attributes on a logical particle group |
| ParticlePainter | For specifying how to paint particles |
| ParticleSystem | A system which includes particle painter, emitter, and affector types |
| PointDirection | For specifying a direction that varies in x and y components |
| RectangleShape | For specifying an area for affectors and emitter |
| SpriteGoal | For changing the state of a sprite particle |
| TargetDirection | For specifying a direction towards the target point |
| TrailEmitter | Emits logical particles from other logical particles |
| Turbulence | Provides fluid-like forces from a noise image |
| Wander | For applying random particle trajectory |