Exist a function to know if an object was rendered by the camera?

Hi everyone,
I come from unity and in this engine has a function to know if an object was rendered by the camera.
in babylonjs have a similar function or did someone make this function?

Hmm I am not quite sure if this is what you mean but camera class has isInFrustum Camera | Babylon.js Documentation to check if an mesh is in view of the camera.

2 Likes

Perhaps you could use something like this?:

1 Like

Thanks, this answer is very useful

1 Like