Qt Quick Particles QML Types

该 QML 模块包含一个适用于Qt Quick 的粒子系统。要使用这些类型,请使用以下代码行导入该模块:

import QtQuick.Particles

如需了解该系统使用方法的简要概述,请参阅《使用Qt Quick 粒子系统》。

有关性能特征的详细信息,请参阅《Qt Quick 粒子系统性能》。

Affector

在逻辑粒子的生命周期内任何时刻对其属性进行修改

Age

用于修改粒子年龄

AngleDirection

用于指定角度随时间变化的方向

Attractor

将粒子吸引到特定点

CumulativeDirection

用于指定由其他方向组合而成的方向

Direction

用于指定向量空间

EllipseShape

向其他粒子系统元素表示椭圆

Emitter

发射逻辑粒子

Friction

用于施加与粒子当前速度成正比的摩擦力

Gravity

用于施加特定角度的加速度

GroupGoal

用于更改一组粒子的状态

ImageParticle

用于使用图像可视化逻辑粒子

ItemParticle

用于指定绘制粒子的委托方法

LineShape

表示作用器和发射器的线

MaskShape

用于将图像作为形状呈现给作用器和发射器

Particle

表示由发射器和影响器操控的粒子

ParticleAffector

在逻辑粒子的生命周期内任何时刻对其属性进行修改

ParticleExtruder

用于为影响器和发射器指定一个区域

ParticleGroup

用于设置逻辑粒子组的属性

ParticlePainter

用于指定粒子的绘制方式

ParticleSystem

一个包含粒子绘制器、发射器和影响器类型的系统

PointDirection

用于指定在 x 和 y 分量上变化的方向

RectangleShape

用于为影响器和发射器指定区域

SpriteGoal

用于更改精灵粒子的状态

TargetDirection

用于指定指向目标点的方向

TrailEmitter

从其他逻辑粒子发射逻辑粒子

Turbulence

根据噪声图像提供类似流体的力

Wander

用于应用随机的粒子轨迹

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.