Can I know whether some actor is rendered or not?
Can I know whether some actor is rendered or not? I tried AActor::WasRecentlyRendered, but it only takes into account the frustum for code based optimization purposes. It isn't the same as occlusion culling. https://api.unrealengine.com/INT/API/Runtime/Engine/GameFramework/AActor/WasRecentlyRendered/index.html https://answers.unrealengine.com/questions/479184/was-recently-rendered-node-does-not-work.html
I want to know whether some actor(or capsule) is totally occluded by geometry or not. LineTraceSingleByObjectType can check only point to point.
asked Feb 15 '19 at 06:54 AM in C++ Programming
Do you need this information at runtime? If not you could just use renderdoc to analyse any rendered frame. You could than see if the actor is rendered or not.
Otherwise you can use the console to "freeze rendering" and then move around with your pawn. If you do not see it then the actor was either culled or occluded.
answered Feb 15 '19 at 12:20 PM
Now I'm not sure but maybe you could try using a UE_LOG maybe somthing like
answered Feb 15 '19 at 12:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here