GroupGoal QML Type
用于改变粒子群的状态。更多
Import Statement: | import QtQuick.Particles |
Inherits: |
属性
详细说明
属性文档
goalState : string |
受影响粒子应移动到的组的名称。
群组可以有定义的持续时间和群组间的转换,设置 goalState 会导致它忽略任何路径权重(包括 0),并沿着最快到达 goalState 的路径前进。它将通过路径上的中间组,以获得各自的持续时间。
jump : bool |
如果为 "true",受影响的粒子将直接跳转到目标组,而不是通过最短的有效路径到达目标组。它们也不会结束当前状态,而是立即移动到目标状态的起点。
默认为假。
© 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.