TryGetFrustum(Camera, Vector3[], Vector3[], out float)
Calculate the frustrum corners. Corners are calculated in this order: left bottom, left top, right top, right bottom.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
TryGetFrustum(Camera, Vector3[], Vector3[], float)
public static bool TryGetFrustum(Camera camera, Vector3[] near, Vector3[] far, out float frustumAspect)
Parameters
Returns
Type | Description |
|---|---|
| bool | Whether the frustrum was calculated. |