<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PerspectiveCameraComponent/fieldOfViewInDegrees",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation26PerspectiveCameraComponentV20fieldOfViewInDegreesSfvp"
  },
  "title" : "fieldOfViewInDegrees"
}
-->

# fieldOfViewInDegrees

The camera’s total field of view in degrees.

```
var fieldOfViewInDegrees: Float
```

## Discussion

This property contains the entire field of view for the
camera in degrees.

When you set [`fieldOfViewOrientation`](/documentation/RealityKit/PerspectiveCameraComponent/fieldOfViewOrientation) to
[`CameraFieldOfViewOrientation.vertical`](/documentation/RealityKit/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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)