ドキュメント

Unity Engine

Unity Engine

cameraViewport

The position and size of the area that the camera renders.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Rect cameraViewport { get; }

Remarks

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