기술 자료

Unity Engine

Unity Engine

Camera.GateFitMode

Enum used to specify how the sensor gate (sensor frame) defined by Camera.sensorSize fits into the resolution gate (render frame).
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum Camera.GateFitMode

Fields

Value

Description

FillAutomatically selects a horizontal or vertical fit so that the sensor gate fits completely inside the resolution gate.
HorizontalFit the resolution gate horizontally within the sensor gate.
NoneStretch the sensor gate to fit exactly into the resolution gate.
OverscanAutomatically selects a horizontal or vertical fit so that the render frame fits completely inside the resolution gate.
VerticalFit the resolution gate vertically within the sensor gate.