Is this renderer visible in any camera? (Read Only)
if (renderer.isVisible)
ProcessData.AndDoSomeComplexEffect();
no example available in C#
no example available in Boo
Note that object is considered visible when it needs to be rendered in the scene. It
might not be actually visible by any camera, but still need to be rendered for shadows
for example. Also, when running in the editor, the scene view cameras will also
cause this value to be true.See Also: OnBecameVisible, OnBecameInvisible.