Documentation

Unity Engine

Download Unity

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.
Read time 1 minuteLast updated 3 days ago

Definition

public Camera.GateFitMode gateFit { get; set; }

Remarks

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