기술 자료

Unity Engine

Unity Engine

gateFit

There are two gates for a camera, the sensor gate and the resolution gate. The physical camera sensor gate is defined by the Camera.sensorSize property, the resolution gate is defined by the render target area.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Camera.GateFitMode gateFit { get; set; }

Remarks

To use this property, enable Camera.usePhysicalProperties. Additional Resources: Camera.GateFitMode enum.