Hello!
Is there a way to get occluded actors in C++ without ray casting from every camera? I’ve tried numerous approaches, including:
-
Was Recently Rendered (does not tell if an actor is occluded)
-
Getting Actors within the Camera’s frustrum (inefficient and doesn’t work super well because I’m using nDisplay and some of my actors are far out)
In editor, there is the option to ‘Freeze Rendering’ so that you can see what actors are being occluded. Is there an array somewhere in the engine that keeps track of these actors?
TLDR; I would love to have a TArray of all actors that are currently visible on screen.
Thanks!