GroupGoal QML Type

For changing the state of a group of a particle. More...

Import Statement: import QtQuick.Particles 2.14
Inherits:

Affector

Properties

Detailed Description

Property Documentation

goalState : string

The name of the group which the affected particles should move to.

Groups can have defined durations and transitions between them, setting goalState will cause it to disregard any path weightings (including 0) and head down the path which will reach the goalState quickest. It will pass through intermediate groups on that path for their respective durations.


jump : bool

If true, affected particles will jump directly to the target group instead of taking the shortest valid path to get there. They will also not finish their current state, but immediately move to the beginning of the goal state.

Default is false.


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