Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SceneView.cameraViewport

public Rect cameraViewport;

Description

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.