[UE4] Modify CParticleSamplerShape from C++ or BP

0 like 0 dislike
13 views
Hello,

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?

Thanks.
asked Apr 6 by Dirtsleeper (140 points)

1 Answer

0 like 0 dislike
Hi,

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).

Cheers
answered Apr 9 by HugoPKFX (15,500 points)
...