How to check the mesh within the display area is in the camera?

There are some meshes in the scene. Some meshes the camera can see and some can’t. how can I figure out those meshes outside the scene of camera ?

You can use camera.isInFrustum(yourMesh): it will return true if the mesh is in the camera frustum (==visible), else false.

2 Likes

thanks!Master