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

应用随机粒子轨迹

© 2025 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.