기술 자료

Unity Engine

Unity Engine

cameraViewport

The position and size of the area that the camera renders.
읽는 시간 1분최근 업데이트: 한 달 전

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.