TrailEmitter QML Type
Emits logical particles from other logical particles. More...
|Import Statement:||import QtQuick.Particles 2.15|
- emitHeight : real
- emitRatePerParticle : real
- emitShape : Shape
- emitWidth : real
- follow : string
- velocityFromMovement : qreal
- emitFollowParticles(Array particles, Particle followed)
This element emits logical particles into the ParticleSystem, with the starting positions based on those of other logical particles.
emitHeight : real
emitShape : Shape
emitWidth : real
follow : string
The type of logical particle which this is emitting from.
If this value is non-zero, then any movement of the emitter will provide additional starting velocity to the particles based on the movement. The additional vector will be the same angle as the emitter's movement, with a magnitude that is the magnitude of the emitters movement multiplied by velocityFromMovement.
Default value is 0.
emitFollowParticles(Array particles, Particle followed)
This signal is emitted when particles are emitted from the followed particle. particles contains an array of particle objects which can be directly manipulated.
If you use this signal handler, emitParticles will not be emitted.
Note: The corresponding handler is
© 2022 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.