<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNCamera/projectionDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNCamera(py)projectionDirection"
  },
  "title" : "projectionDirection"
}
-->

# projectionDirection

The axis used to determine field of view or orthographic scale.

```
var projectionDirection: SCNCameraProjectionDirection { get set }
```

## Discussion

The [`fieldOfView`](/documentation/SceneKit/SCNCamera/fieldOfView) property measures view angle in a single primary direction, determined by this [`projectionDirection`](/documentation/SceneKit/SCNCamera/projectionDirection) property. For the other direction, SceneKit automatically adjusts field of view depending on the aspect ratio of the view presenting the scene.

For example, with the default projection direction of [`SCNCameraProjectionDirection.vertical`](/documentation/SceneKit/SCNCameraProjectionDirection/vertical), setting [`fieldOfView`](/documentation/SceneKit/SCNCamera/fieldOfView) to `60` results in a vertical view angle of 60°. If the scene appears on a display with a 4:3 aspect ratio, the horizontal view angle is 80°. However, if the scene appears on a 16:9 display, the horizontal view angle is 106°.

This property has a similar effect on scaling for orthographic projections. The [`orthographicScale`](/documentation/SceneKit/SCNCamera/orthographicScale) property measures the scale factor in the direction of the [`projectionDirection`](/documentation/SceneKit/SCNCamera/projectionDirection) property, and SceneKit automatically calculates scale factor in the other direction according to aspect ratio.

---

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)