Is there a way to find out whether an object is being occlusion culled?

I know I can use renderer.isVisible to find out if an object is being frustrum culled.

My question is whether such a thing exists for detecting an object that has be occlusion culled.

Thanks

So for example

OnWillRenderObject() & OnBecameInvisible()

might well be fired even if you can’t ‘see’ the renderer, as part of shadow calcs, and they don’t respect occlusion culling.

However

renderer.isVisble

does respect occlusion culling.

So if you’re seeing e.g. OnWillRender, but render.isVisble is false, depending on your setup and a bunch of other factors, you could conclude that the object is being culled.

I guess you could also check if the object is in your camera’s view frustum, just to be sure.