IsViewportRectValidToRender(Rect)
Check whether a viewport is valid.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool IsViewportRectValidToRender(Rect normalizedViewPortRect)
Parameters
Viewport to check.
Returns
Type | Description |
|---|---|
| bool | Whether the viewport is valid. |