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

Affector3D QML Type

Affectors modify the attributes of particles during their lifetime.

This type was introduced in Qt 6.2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Affector3D QML Type

Detailed Description

The Affector3D is an abstract base class of affectors like Gravity3D, Wander3D, and PointRotator3D.

By default affectors affect all particles in the system, but this can be limited by defining the particles list. If the system has multiple affectors, the order of affectors may result in different outcome, as affectors are applied one after another.

Property Documentation

 

enabled : bool

If enabled is set to false, this affector will not alter any particles. Usually this is used to conditionally turn an affector on or off.

The default value is true.

particles : List<Particle3D>

This list controls which logical particles will be affected. When empty, all particles in the system are affected.

system : ParticleSystem3D

This property defines the ParticleSystem3D for the affector. If system is direct parent of the affector, this property does not need to be defined.

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