文档

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 分钟最后更新于 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.