[C# rhino7]Visibility of objects

Hi Guys. Is there a function to determine whether an object is visible under a certain ViewportInfo (to check if it is blocked by other objects).

Hi,
Rhino.Display.RhinoViewport.IsVisible
https://developer.rhino3d.com/api/rhinocommon/rhino.display.rhinoviewport/isvisible
You could use integrate yourself some vis check using https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.ray3d
Hope this helps,
Farouk