Version: 2023.1

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.