---
title: fieldOfView
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 27.1+]
path: metalfx/mtlfxframeinterpolatorbase/fieldofview
---

# fieldOfView

The vertical field of view angle, in degrees, of the camera that renders the scene into the color buffer.

## Declaration

```swift
var fieldOfView: Float { get set }
```

## Discussion

Discussion In a 3D game, you set this value to the field of view you use to create your perspective matrix.
