detect rendered node/object


Recommended Posts


Is there a way to detect when a node/object is rendered or visible in the camera frustum?

I tried scouring the API but nothing pops up on the mentioned issue.

Link to post

Hi Silent,

I am looking for events to tap into in order to not hinder performance, something like these two callbacks in unity

private void OnBecameVisible()
private void OnBecameInvisible()

anything to avoid constantly checking for in the loop

Edited by Jeff_D
Link to post

Hi Jeff,

isVisibleCamera() check is pretty lightweight, so you if your use-case is to get some information about finite number of nodes (let's say hundreds) - you can use this method.

We are thinking of adding additional callback that will be fired when object is being rendered on screen (but more likely it would not be included in 2.13).


How to submit a good bug report
FTP server for test scenes and user uploads:

Link to post

Sounds good

Thank you

Link to post