---
title: fieldOfViewInDegrees
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/perspectivecameracomponent/fieldofviewindegrees
---

# fieldOfViewInDegrees

The camera’s total field of view in degrees.

## Declaration

```swift
var fieldOfViewInDegrees: Float
```

## Discussion

Discussion This property contains the entire field of view for the camera in degrees. When you set fieldOfViewOrientation to CameraFieldOfViewOrientation.vertical, this value sets the vertical field of view for the camera in degrees, and the system automatically calculates the horizontal field of view to fit the aspect ratio of the device’s screen. This property defaults to 60 degrees.

## See Also

### Setting the field of view

- [fieldOfViewOrientation](realitykit/perspectivecameracomponent/fieldofvieworientation.md)
