The axis used to determine field of view or orthographic scale.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
field property measures view angle in a single primary direction, determined by this
projection 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
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
orthographic property measures the scale factor in the direction of the
projection property, and SceneKit automatically calculates scale factor in the other direction according to aspect ratio.