SpriteGoal QML Type
用于改变精灵粒子的状态。更多
Import Statement: | import QtQuick.Particles |
Inherits: |
属性
- goalState : string
- jump : bool
- systemStates : bool
详细说明
属性文档
goalState : string |
受影响的粒子应该移动到的精灵的名称。
设置了 goalState 后,它会忽略任何路径权重(包括 0),并沿着最快到达 goalState 的路径前进。它将穿过路径上的中间状态。
jump : bool |
如果为真,受影响的精灵将直接跳转到目标状态,而不是走最短的有效路径到达目标状态。它们也不会结束当前状态,而是立即移动到目标状态的起点。
默认为假。
© 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.