Version: 2022.2

SceneView.cameraViewport

切换到手册
public Rect cameraViewport ;

描述

The position and size of the area that the camera renders.

This returns a rect. The rect accounts for any offset that Overlay toolbars introduce.