ItemParticle size
Unsolved
QML and Qt Quick
-
I can emit ItemParticle with the code below. However, I can't figure out a way how to affect ItemParticle size with size and endSize property of Emitter. ItemParticle has always 5 pixel size.
ParticleSystem { id: particleSystem } Emitter { id: collisionEmiter anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter width: parent.width / 2 height: 1 system: particleSystem emitRate: 300 lifeSpan: 400 lifeSpanVariation: 200 size: 150 endSize: 32 enabled: true velocity: AngleDirection { angle: 10; angleVariation: 8; magnitude: 150; magnitudeVariation: 10 } ItemParticle { system: particleSystem delegate: Component { Rectangle { width: 5 height: 5 color: 'red' } } } }