[Development] Open up the particle C++ API for custom particle affectors?

Mark markg85 at gmail.com
Sun May 19 17:06:53 CEST 2013


Hi,

When searching for a way to make a custom particle affector i found a
few things.

1. There is an undocumented feature in Affector{} called
"onAffectParticles" which is only mentioned in the "onAffected" docs
[1], not as it's own signal.

2. Those same docs [1] suggest against using onAffectParticles for
high volume particles yet the C++ approach is only available through
private headers. So i would like to request to open up the C++
particle api to be able to make C++ side custom affectors. For that
the following classes have to be opened up:
- QQuickParticleAffector
- QQuickParticleData

Those are the classes i could find when browsing through other C++
side affectors (like Age and Gravity). Can QQuickParticleAffector
QQuickParticleData be opened up for Qt 5.1?

Regards,
Mark

[1] http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick-particles2-affector.html#onAffected-signal



More information about the Development mailing list