CameraFOVChecker Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Camera extension methods to test if colliders are within camera's FOV. Uses caching to improve performance and ensure values are only computed once per frame.
public static class CameraFOVChecker
type CameraFOVChecker = class
Public Module CameraFOVChecker
- Inheritance
-
CameraFOVChecker
Methods
| Name | Description |
|---|---|
| IsInFOVCached(Camera, Collider) |
Test if a collider's bounds is within the camera's field of view. |