IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

GroupGoal QML Type

For changing the state of a group of a particle.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

GroupGoal QML Type

  • Import Statement: import QtQuick.Particles

  • Inherits:: Affector

  • Group: GroupGoal is part of qtquick-particles

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+