本页内容

GroupGoal QML Type

用于更改一组粒子的状态。更多内容...

Import Statement: import QtQuick.Particles
Inherits:

ParticleAffector

属性

详细说明

物业文件

goalState : string

受影响粒子应移动到的组名称。

组可以定义持续时间和组之间的过渡效果;设置 goalState 后,系统将忽略所有路径权重(包括 0),并沿能最快到达 goalState 的路径移动。在此路径上,粒子将按相应持续时间通过中间组。

jump : bool

如果为真,受影响的粒子将直接跳转到目标组,而不是沿最短有效路径到达那里。此外,它们不会完成当前状态,而是立即跳转到目标状态的起始位置。

默认值为 false。

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