Jump to content

detect rendered node/object


photo

Recommended Posts

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 comment

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).

Thanks!

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

Link to comment
×
×
  • Create New...