cameraViewport
The position and size of the area that the camera renders.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public Rect cameraViewport { get; }
Remarks
This returns a rect. The rect accounts for any offset that Overlay toolbars introduce.