[Development] Open up the particle C++ API for custom particle affectors?
Alan Alpert
416365416c at gmail.com
Sun May 19 19:08:47 CEST 2013
On Sun, May 19, 2013 at 8:06 AM, Mark <markg85 at gmail.com> wrote:
> 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.
This is a doc bug. I'm not sure why "onAffectParticles" isn't showing
up, the docs are right up the top of qquickcustomaffector.cpp...
> 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?
The C++ API is planned to be opened up (there's a more complete list
of classes in the plan too, allowing C++ custom emitters and
painters), but it won't make Qt 5.1 as there still a fair bit of work
that needs to be done first.
--
Alan Alpert
More information about the Development
mailing list