focalDistance
The distance from the camera at which objects appear in sharp focus. Animatable.
Declaration
var focalDistance: CGFloat { get set }Discussion
Objects at this distance from the camera appear perfectly focused. Objects nearer to or farther from the camera than this distance appear increasingly blurred (up to the amount of blur specified by the focalBlurRadius property). The default focal distance is 10.0.
You can animate changes to this property’s value. See Animating SceneKit Content.