# fieldOfView

> The field of view of the projection in degrees.

## Definition

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

> **Warning:**
>
> **Deprecated.** Projector component is deprecated now that the Built-In Render Pipeline is deprecated. To use an alternative, refer to the documentation in the component help icon. #from(6000.5)

```csharp
public float fieldOfView { get; set; }
```

### Remarks

This is the vertical field of view; horizontal FOV varies depending on the [Projector.aspectRatio](/engine/6000.6/script-reference/unityengine/projector/aspectratio.md). Field of view is ignored when projector is orthographic (see [Projector.orthographic](/engine/6000.6/script-reference/unityengine/projector/orthographic.md)). Additional Resources: [projector component](/engine/6000.6/manual/visual-effects/decals/decals-birp/class-projector.md).

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        // Get the projector
        Projector proj = GetComponent<Projector>();
        // Use it
        proj.fieldOfView = 80.0f;
    }
}
```
