The first coefficient for determining the radial distortion applied to pixels rendered using the camera.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Model I/O
Light passing through any lens produces some amount of radial distortion, which a renderer can compute based on the
focal property. However, some lenses or aesthetic designs introduce additional distortion. A renderer can model radial distortion using the following equation, in which
r is the radial distance from a pixel to be rendered to the center of the projection, and
r’ is the new radial distance to that pixel accounting for distortion:
r' = r * (1 +
* r^2 +
barrel value sufficiently describes the distortion characteristic of most lenses. To simulate other lenses—such as security cameras, plastic toy lenses, or VR headsets—use both the
fisheye properties. The default value of both radial distortion parameters is zero, resulting in a rectilinear projection.