ドキュメント

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 分最終更新 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.