cull distance volume for particle.

hi,

We found “cull distacne volume” doesn’t work for particles,
but the actor property “Desired Max Draw Distance” could work for particles.

Is it a bug?

Hello,

The cause for this is, from what I can tell, that the component’s mobility for particle system components is set to dynamic (we assume that all particle systems can move). The cull distance volume ignores such components in CanBeAffectedByVolumes:

&& (PrimitiveComponent->Mobility == EComponentMobility::Static)

Can you try adding

ShowCategories=(Mobility)

To the UCLASS definition above the class definition of UParticleSystemComponent, and setting the mobility of those components you want to be affected by cull distance volumes to Static?
That should fix the problem for you; naturally, you should check for potential side effects, and this would only work for effects that don’t move through the world. I’ll investigate if making this change on our side is feasible.

Thanks!
Olaf