StageUtility.IsGameObjectRenderedByCamera
Parameters
| gameObject | The GameObject to check. | |
| camera | The camera to check. |
Returns
bool True if the GameObject is rendered by the camera.
Description 描述
Is the given GameObject rendered by the given Camera?
This is not related to culling, but simply checks if the stages of the GameObject and camera respectively means that the Camera is able to render the GameObject.