本页内容

ParticlePainter QML Type (Uncreatable)

用于指定粒子的绘制方式。更多...

Import Statement: import QtQuick.Particles
Inherits:

Item

Inherited By:

ImageParticle and ItemParticle

注意:此类型不可创建。无法在 QML 中实例化。

属性

详细说明

默认实现不会绘制任何内容。若需绘制可见内容,请参阅子类。

属性文档

groups : list<string>

将绘制哪些逻辑粒子组。

如果为空,则将绘制默认粒子组(“”)。

system : ParticleSystem

这是一个其粒子可由该元素进行着色的系统。如果ParticlePainter 是ParticleSystem 的直接子节点,它将自动与该元素关联。

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