Instance Property

focalBlurRadius

The maximum amount of blurring, in pixels, applied to areas outside the camera’s depth of field. Animatable.

Declaration

@property(nonatomic) CGFloat focalBlurRadius;

Discussion

The default value of this property is 0.0, disabling the depth of field visual effect. Changing this property to a nonzero value enables the depth of field effect, in which only objects at a specified distance from the camera appear in sharp focus, and objects nearer to or farther from the camera appear increasingly blurred (up to the amount specified by this property).

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Deprecated

yFov

The camera’s field of view, in degrees, on the vertical axis. Animatable.

Deprecated
xFov

The camera's field of view, in degrees, on the horizontal axis. Animatable.

Deprecated
focalDistance

The distance from the camera at which objects appear in sharp focus. Animatable.

Deprecated
focalSize

The width of the distance range at which objects appear in sharp focus. Animatable.

Deprecated
aperture

A factor that determines the transition between in-focus and out-of-focus areas. Animatable.

Deprecated