[UE4] Modify CParticleSamplerShape from C++ or BP

0 like 0 dislike

Is it possible to modify an emitter's CParticleSamplerShape from either C++ or BP or is it only possible through the EmitterComponent's Details window?

asked Apr 6 by Dirtsleeper (140 points)

1 Answer

0 like 0 dislike

It isn't exposed to BP yet, but it could. You should be able to modify this from C++ though, but it will require that you restart the effect after modifying the sampled shape.

Depending on your specific needs there might be better solutions (like using a collection attribute sampler and changing weights on sampled shapes if you know in advance what shapes will be sampled).

answered Apr 9 by HugoPKFX (15,500 points)