- Home /
Detecting transforms showing up in a camera
Hi,
Is there any way that i can list all transforms (MeshFilters, actually) that are showing up on the screen (camera) on each frame?
Thanks in advance,
Raphael
Comment
Best Answer
Answer by Eric5h5 · Feb 25, 2010 at 04:12 PM
The easiest way I can think of is to have a central array of MeshFilters, and then use OnBecameVisible on individual objects to add to this array when in view, and OnBecameInvisible to remove from the array when not in view anymore.