# Camera.GateFitMode

> Enum used to specify how the sensor gate (sensor frame) defined by Camera.sensorSize fits into the resolution gate (render frame).

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum Camera.GateFitMode
```

## Fields

| Value                                                                                      | Description                                                                                                             |
| ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| [Fill](/engine/6000.0/script-reference/unityengine/camera/gatefitmode/fill.md)             | Automatically selects a horizontal or vertical fit so that the sensor gate fits completely inside the resolution gate.  |
| [Horizontal](/engine/6000.0/script-reference/unityengine/camera/gatefitmode/horizontal.md) | Fit the resolution gate horizontally within the sensor gate.                                                            |
| [None](/engine/6000.0/script-reference/unityengine/camera/gatefitmode/none.md)             | Stretch the sensor gate to fit exactly into the resolution gate.                                                        |
| [Overscan](/engine/6000.0/script-reference/unityengine/camera/gatefitmode/overscan.md)     | Automatically selects a horizontal or vertical fit so that the render frame fits completely inside the resolution gate. |
| [Vertical](/engine/6000.0/script-reference/unityengine/camera/gatefitmode/vertical.md)     | Fit the resolution gate vertically within the sensor gate.                                                              |
