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

Friction QML Type

For applying friction proportional to the particle's current velocity.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Friction QML Type

  • Import Statement: import QtQuick.Particles

  • Inherits:: Affector

  • Group: Friction is part of qtquick-particles

Detailed Description

 

Property Documentation

 

factor : real

A drag will be applied to moving objects which is this factor of their current velocity.

threshold : real

The drag will only be applied to objects with a velocity above the threshold velocity. The drag applied will bring objects down to the threshold velocity, but no further.

The default threshold is 0

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